diff options
| author | bfredl <bjorn.linse@gmail.com> | 2024-11-13 12:34:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 12:34:09 +0100 |
| commit | 37f665c504e499c95bc0a88c52dd38ca9f621cdd (patch) | |
| tree | 366be69fff5a72c1f73b27ffa8cdf1a900288dbf /src/nvim/highlight.h | |
| parent | eaf5ae6cc69a97e58365b409554783be9dd21385 (diff) | |
| parent | ff7518b83cb270f8fcaded19bf640cf4bdfb0ff0 (diff) | |
| download | rneovim-37f665c504e499c95bc0a88c52dd38ca9f621cdd.tar.gz rneovim-37f665c504e499c95bc0a88c52dd38ca9f621cdd.tar.bz2 rneovim-37f665c504e499c95bc0a88c52dd38ca9f621cdd.zip | |
Merge pull request #31164 from bfredl/hlf_enum
refactor(highlight): make enum of builtin highlights start with 1
Diffstat (limited to 'src/nvim/highlight.h')
| -rw-r--r-- | src/nvim/highlight.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/highlight.h b/src/nvim/highlight.h index 2ba6cf5371..1be70100de 100644 --- a/src/nvim/highlight.h +++ b/src/nvim/highlight.h @@ -84,7 +84,7 @@ EXTERN const char *hlf_names[] INIT( = { [HLF_TSNC] = "StatusLineTermNC", }); -EXTERN int highlight_attr[HLF_COUNT + 1]; // Highl. attr for each context. +EXTERN int highlight_attr[HLF_COUNT]; // Highl. attr for each context. EXTERN int highlight_attr_last[HLF_COUNT]; // copy for detecting changed groups EXTERN int highlight_user[9]; // User[1-9] attributes EXTERN int highlight_stlnc[9]; // On top of user |
