aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-11-13 12:34:09 +0100
committerGitHub <noreply@github.com>2024-11-13 12:34:09 +0100
commit37f665c504e499c95bc0a88c52dd38ca9f621cdd (patch)
tree366be69fff5a72c1f73b27ffa8cdf1a900288dbf /src/nvim/fileio.c
parenteaf5ae6cc69a97e58365b409554783be9dd21385 (diff)
parentff7518b83cb270f8fcaded19bf640cf4bdfb0ff0 (diff)
downloadrneovim-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/fileio.c')
-rw-r--r--src/nvim/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 7c53150c11..fc7fabc009 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -3035,9 +3035,9 @@ int buf_check_timestamp(buf_T *buf)
} else {
if (!autocmd_busy) {
msg_start();
- msg_puts_hl(tbuf, HLF_E + 1, true);
+ msg_puts_hl(tbuf, HLF_E, true);
if (*mesg2 != NUL) {
- msg_puts_hl(mesg2, HLF_W + 1, true);
+ msg_puts_hl(mesg2, HLF_W, true);
}
msg_clr_eos();
msg_end();