fix(highlight): add FloatFooter to 'highlight_defs.h' (#25577)

This commit is contained in:
Evgeni Chasnovski 2023-10-10 12:33:30 +03:00 committed by GitHub
parent c40a1c0f41
commit a2f17e97ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -123,6 +123,7 @@ typedef enum {
HLF_WBRNC, // Window bars of not-current windows
HLF_CU, // Cursor
HLF_BTITLE, // Float Border Title
HLF_BFOOTER, // Float Border Footer
HLF_COUNT, // MUST be the last one
} hlf_T;
@ -192,6 +193,7 @@ EXTERN const char *hlf_names[] INIT(= {
[HLF_WBRNC] = "WinBarNC",
[HLF_CU] = "Cursor",
[HLF_BTITLE] = "FloatTitle",
[HLF_BFOOTER] = "FloatFooter",
});
EXTERN int highlight_attr[HLF_COUNT + 1]; // Highl. attr for each context.

View File

@ -215,7 +215,7 @@ describe('ui/cursor', function()
m.hl_id = 64
m.attr = {background = Screen.colors.DarkGray}
end
if m.id_lm then m.id_lm = 66 end
if m.id_lm then m.id_lm = 67 end
end
-- Assert the new expectation.