nvim: update Lush colors template

This commit is contained in:
Gabriel Arazas 2025-01-19 23:33:11 +08:00
parent 9bd879c61a
commit 18c342660c
2 changed files with 6 additions and 19 deletions

View File

@ -2,19 +2,5 @@
set background=dark set background=dark
let g:colors_name="fds-theme" let g:colors_name="fds-theme"
" 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".
lua package.loaded['lush_theme.fds-theme'] = nil
" include our theme file and pass it to lush to apply " include our theme file and pass it to lush to apply
lua require('lush')(require('lush_theme.fds-theme')) lua require('lush')(require('lush_theme.fds-theme'))

View File

@ -41,8 +41,8 @@ local base0F = hsl("#7f3F83")
--[[ --[[
Define additional colors if defined in the theme. Fallback to base00 - base07 Define additional colors if defined in the theme. Fallback to base00 - base07
if not defined. if not defined.
]] ]]
@ -65,6 +65,7 @@ vim.g.terminal_color_15 = base07.hex
vim.g.terminal_color_background = base00.hex vim.g.terminal_color_background = base00.hex
vim.g.terminal_color_foreground = base0E.hex vim.g.terminal_color_foreground = base0E.hex
-- @diagnostic disable: undefined-global
return lush(function() return lush(function()
return { return {
Normal({ fg = base05, bg = base00 }), Normal({ fg = base05, bg = base00 }),
@ -301,10 +302,10 @@ return lush(function()
sassMixinName({ fg = base0D }), sassMixinName({ fg = base0D }),
-- Spelling highlighting -- Spelling highlighting
SpellBad({ gui = "undercurl" }), --, base08) SpellBad({ gui = "undercurl" }), --, base08)
SpellLocal({ gui = "undercurl" }), --, base0C) SpellLocal({ gui = "undercurl" }), --, base0C)
SpellCap({ gui = "undercurl" }), --, base0D) SpellCap({ gui = "undercurl" }), --, base0D)
SpellRare({ gui = "undercurl" }), --, base0E) SpellRare({ gui = "undercurl" }), --, base0E)
-- Startify highlighting -- Startify highlighting
StartifyBracket({ fg = base03 }), StartifyBracket({ fg = base03 }),