mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(highlight): let winhighlight use cursor
This commit is contained in:
parent
9e442c17ee
commit
df70a3abcd
@ -113,6 +113,7 @@ typedef enum {
|
||||
HLF_BORDER, // Floating window border
|
||||
HLF_WBR, // Window bars
|
||||
HLF_WBRNC, // Window bars of not-current windows
|
||||
HLF_CU, // Cursor
|
||||
HLF_COUNT, // MUST be the last one
|
||||
} hlf_T;
|
||||
|
||||
@ -176,6 +177,7 @@ EXTERN const char *hlf_names[] INIT(= {
|
||||
[HLF_BORDER] = "FloatBorder",
|
||||
[HLF_WBR] = "WinBar",
|
||||
[HLF_WBRNC] = "WinBarNC",
|
||||
[HLF_CU] = "Cursor",
|
||||
});
|
||||
|
||||
EXTERN int highlight_attr[HLF_COUNT]; // Highl. attr for each context.
|
||||
|
@ -212,7 +212,7 @@ describe('ui/cursor', function()
|
||||
if m.blinkwait then m.blinkwait = 700 end
|
||||
end
|
||||
if m.hl_id then
|
||||
m.hl_id = 64
|
||||
m.hl_id = 60
|
||||
m.attr = {background = Screen.colors.DarkGray}
|
||||
end
|
||||
if m.id_lm then m.id_lm = 65 end
|
||||
|
Loading…
Reference in New Issue
Block a user