@@ -19,22 +19,22 @@ function M.setup(config)
19
19
ColorColumn = {bg = c .bg_visual }, -- used for the columns set with 'colorcolumn'
20
20
Conceal = {fg = c .fg_gutter }, -- placeholder characters substituted for concealed text (see 'conceallevel')
21
21
Cursor = {fg = c .bg , bg = c .fg }, -- character under the cursor
22
- lCursor = {fg = c . bg , bg = c . fg }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
23
- CursorIM = {fg = c . bg , bg = c . fg }, -- like Cursor, but used when in IME mode |CursorIM|
22
+ lCursor = {link = " Cursor " }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
23
+ CursorIM = {link = " Cursor " }, -- like Cursor, but used when in IME mode |CursorIM|
24
24
CursorColumn = {bg = c .bg_highlight }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
25
- CursorLine = {bg = c . bg_highlight }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
25
+ CursorLine = {link = " CursorColumn " }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
26
26
Directory = {fg = c .blue }, -- directory names (and other special names in listings)
27
- DiffAdd = {bg = c .diff .add }, -- diff mode: Added line |diff.txt|
28
- DiffChange = {bg = c .diff .change }, -- diff mode: Changed line |diff.txt|
29
- DiffDelete = {bg = c .diff .delete }, -- diff mode: Deleted line |diff.txt|
27
+ DiffAdd = {fg = c . diff . add_fg , bg = c .diff .add }, -- diff mode: Added line |diff.txt|
28
+ DiffChange = {fg = c . diff . change_fg , bg = c .diff .change }, -- diff mode: Changed line |diff.txt|
29
+ DiffDelete = {fg = c . diff . delete_fg , bg = c .diff .delete }, -- diff mode: Deleted line |diff.txt|
30
30
DiffText = {fg = c .fg_gutter }, -- diff mode: Changed text within a changed line |diff.txt|
31
31
EndOfBuffer = {fg = c .eob }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
32
32
-- TermCursor = { }, -- cursor in a focused terminal
33
33
-- TermCursorNC= { }, -- cursor in an unfocused terminal
34
34
ErrorMsg = {fg = c .error }, -- error messages on the command line
35
35
VertSplit = {fg = c .bg_visual , bg = c .bg }, -- the column separating vertically split windows
36
36
Folded = {fg = c .fg_folded , bg = c .bg_folded }, -- line used for closed folds
37
- FoldColumn = {fg = c . fg_folded , bg = c . bg_folded }, -- 'foldcolumn'
37
+ FoldColumn = {link = " Folded " }, -- 'foldcolumn'
38
38
SignColumn = {bg = config .transparent and c .none or c .bg , fg = c .fg_gutter }, -- column where |signs| are displayed
39
39
SignColumnSB = {bg = c .bg_sidebar , fg = c .fg_gutter }, -- column where |signs| are displayed
40
40
Substitute = {bg = c .red , fg = c .black }, -- |:substitute| replacement text highlighting
@@ -350,9 +350,9 @@ function M.setup(config)
350
350
illuminatedCurWord = {bg = c .lsp .referenceText },
351
351
352
352
-- diff
353
- diffAdded = {bg = c . diff . add , fg = c . diff . add_fg },
354
- diffRemoved = {bg = c . diff . delete , fg = c . diff . delete_fg },
355
- diffChanged = {bg = c . diff . change , fg = c . diff . change_fg },
353
+ diffAdded = {link = " DiffAdd " },
354
+ diffChanged = {link = " DiffChange " },
355
+ diffRemoved = {link = " DiffDelete " },
356
356
diffOldFile = {fg = c .yellow },
357
357
diffNewFile = {fg = c .orange },
358
358
diffFile = {fg = c .blue },
@@ -365,8 +365,8 @@ function M.setup(config)
365
365
NeogitHunkHeader = {bg = c .bg_highlight , fg = c .fg },
366
366
NeogitHunkHeaderHighlight = {bg = c .bg_highlight , fg = c .blue , style = " italic" },
367
367
NeogitDiffContextHighlight = {bg = c .bg , fg = c .fg },
368
- NeogitDiffDeleteHighlight = {fg = c . diff . delete_fg , bg = c . diff . delete },
369
- NeogitDiffAddHighlight = {fg = c . diff . add_fg , bg = c . diff . add },
368
+ NeogitDiffAddHighlight = {link = " DiffAdd " },
369
+ NeogitDiffDeleteHighlight = {link = " DiffDelete " },
370
370
371
371
-- GitGutter
372
372
GitGutterAdd = {fg = c .git_signs .add }, -- diff mode: Added line |diff.txt|
0 commit comments