mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor(highlight): make enum of builtin highlights start with 1
This makes it possible to use HLF_ values directly as highlight id:s and avoids +1 adjustments especially around messages.
This commit is contained in:
@@ -3653,7 +3653,7 @@ void ex_display(exarg_T *eap)
|
||||
if (arg != NULL && *arg == NUL) {
|
||||
arg = NULL;
|
||||
}
|
||||
int hl_id = HLF_8 + 1;
|
||||
int hl_id = HLF_8;
|
||||
|
||||
// Highlight title
|
||||
msg_puts_title(_("\nType Name Content"));
|
||||
|
Reference in New Issue
Block a user