mirror of
https://github.com/neovim/neovim.git
synced 2026-08-15 20:09:41 +00:00
fix(highlight): make Ignore hidden by default #41115
Problem: Ignore is linked to Normal by default, making the text visible instead of hidden. Solution: Replace the default link with an explicit highlight definition using ctermfg=0 guifg=bg.
This commit is contained in:
@@ -145,6 +145,7 @@ static const char e_missing_argument_str[]
|
||||
static const char *highlight_init_both[] = {
|
||||
"Cursor guifg=bg guibg=fg",
|
||||
"CursorLineNr gui=bold cterm=bold",
|
||||
"Ignore guifg=bg ctermfg=0",
|
||||
"PmenuMatch gui=bold cterm=bold",
|
||||
"PmenuMatchSel gui=bold cterm=bold",
|
||||
"PmenuSel gui=reverse cterm=reverse,underline blend=0",
|
||||
@@ -219,7 +220,6 @@ static const char *highlight_init_both[] = {
|
||||
// Used by HLF_8 (very common). None of the HLF_* things use the other Special* groups.
|
||||
"default link SpecialKey Special",
|
||||
"default link Dimmed Comment",
|
||||
"default link Ignore Normal",
|
||||
|
||||
// Built-in LSP
|
||||
"default link LspCodeLens NonText",
|
||||
|
||||
@@ -263,7 +263,7 @@ describe('ui/cursor', function()
|
||||
m.attr = { background = Screen.colors.DarkGray }
|
||||
end
|
||||
if m.id_lm then
|
||||
m.id_lm = 78
|
||||
m.id_lm = 79
|
||||
m.attr_lm = {}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user