fix(highlight): let winhighlight use cursor

This commit is contained in:
zbirenbaum
2022-06-07 01:54:04 -04:00
committed by Christian Clason
parent f70e0832b1
commit 777d415da8
2 changed files with 4 additions and 2 deletions

View File

@ -110,7 +110,8 @@ typedef enum {
HLF_NFLOAT, // Floating window
HLF_MSG, // Message area
HLF_BORDER, // Floating window border
HLF_COUNT, // MUST be the last one
HLF_CU, // Cursor
HLF_COUNT, // MUST be the last one
} hlf_T;
EXTERN const char *hlf_names[] INIT(= {
@ -170,6 +171,7 @@ EXTERN const char *hlf_names[] INIT(= {
[HLF_NFLOAT] = "NormalFloat",
[HLF_MSG] = "MsgArea",
[HLF_BORDER] = "FloatBorder",
[HLF_CU] = "Cursor",
});

View File

@ -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 = 61
m.hl_id = 57
m.attr = {background = Screen.colors.DarkGray}
end
if m.id_lm then m.id_lm = 62 end