Skip to content

Commit

Permalink
"format code for release"
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberLehmann committed Sep 21, 2024
1 parent 1e82bef commit 22e5ddc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions colors/candyland.lua
Original file line number Diff line number Diff line change
@@ -1,28 +1,10 @@
-- You probably always want to set this in your vim file
vim.opt.background = 'dark'
vim.g.colors_name = 'candyland'

-- By setting our module to nil, we clear lua's cache,
-- which means the require ahead will *always* occur.
--
-- This isn't strictly required but it can be a useful trick if you are
-- incrementally editing your config a lot and want to be sure your themes
-- changes are being picked up without restarting neovim.
--
-- Note if you're working in on your theme and have :Lushify'd the buffer,
-- your changes will be applied with our without the following line.
--
-- The performance impact of this call can be measured in the hundreds of
-- *nanoseconds* and such could be considered "production safe".
package.loaded['lush_theme.candyland'] = nil

-- include our theme file and pass it to lush to apply
require('lush')(require('lush_theme.candyland'))

local colors = {
-- content here will not be touched
-- PATCH_OPEN
-- Normal = {fg = "#c0caf5", bg = "#251a34"},
NvimSpacing = {link = "Normal"},
NvimTreePopup = {link = "Normal"},
Bold = {bold = true},
Expand Down Expand Up @@ -1128,16 +1110,12 @@ packerSuccess = {fg = "#9ece6a"},
["@text.strike"] = {strikethrough = true},
["@variable.builtin"] = {fg = "#df71e6", bold = false},
["@lsp.typemod.variable.defaultLibrary"] = {link = "@variable.builtin"},
-- PATCH_CLOSE
-- content here will not be touched
}

-- colorschemes generally want to do this
vim.cmd("highlight clear")
vim.cmd("set t_Co=256")
vim.cmd("let g:colors_name='candyland'")

-- apply highlight groups
for group, attrs in pairs(colors) do
vim.api.nvim_set_hl(0, group, attrs)
end
1 change: 0 additions & 1 deletion colors/candyland.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
" highlight Normal guifg=#c0caf5 guibg=#251a34 guisp=NONE blend=NONE gui=NONE
highlight! link NvimSpacing Normal
highlight! link NvimTreePopup Normal
highlight Bold guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=bold
Expand Down

0 comments on commit 22e5ddc

Please sign in to comment.