Skip to content

Commit

Permalink
fix(color): set highlights Added/Changed/Removed
Browse files Browse the repository at this point in the history
Since neovim 0.10, it uses new default colorscheme "habamax",
which breaks legacy vim colorscheme.
  • Loading branch information
adoyle-h committed Jun 12, 2024
1 parent ead058f commit b630277
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/one/plugins/themes/one.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ M.highlights = function(config)
CursorLineNr = { bg = c.cursorLineNrBG, fg = c.cursorLineNrFG }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
CursorLineNrNC = { bg = c.NC_BG, fg = c.grey }, -- CursorLineNr for inactive windows
CursorLineNrNCQuickFix = { bg = c.NC_BG, fg = c.cursorLineNrFG }, -- CursorLineNr for inactive quickfix windows
Added = { fg = c.green }, -- Override neovim default colorscheme habamax
Changed = { fg = c.yellow }, -- Override neovim default colorscheme habamax
Removed = { fg = c.red }, -- Override neovim default colorscheme habamax
Directory = { fg = c.blue }, -- directory names (and other special names in listings)
DiffAdd = c.diff.add, -- diff mode: Added line |diff.txt|
DiffChange = c.diff.change, -- diff mode: Changed line |diff.txt|
Expand Down

0 comments on commit b630277

Please sign in to comment.