diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-08-27 20:50:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 05:50:37 -0700 |
commit | 32024787b6b1ef39c23bda1653c23b5dfbde9e81 (patch) | |
tree | ca42840d15eac7d352d7f8c101da1b866168b554 /src/nvim/highlight_defs.h | |
parent | 08e223cebb8916f01270b5a332e6202df58609a9 (diff) | |
download | rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.tar.gz rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.tar.bz2 rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.zip |
vim-patch:8.1.2229: color number column above/below cursor #15409
Problem: Cannot color number column above/below cursor differently.
Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes vim/vim#624)
https://github.com/vim/vim/commit/efae76ab1a43d5a628d8c2fa4218ace6ba597f5d
Diffstat (limited to 'src/nvim/highlight_defs.h')
-rw-r--r-- | src/nvim/highlight_defs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/highlight_defs.h b/src/nvim/highlight_defs.h index ed4aefb577..a0e8bad11f 100644 --- a/src/nvim/highlight_defs.h +++ b/src/nvim/highlight_defs.h @@ -63,7 +63,9 @@ typedef enum { , HLF_M // "--More--" message , HLF_CM // Mode (e.g., "-- INSERT --") , HLF_N // line number for ":number" and ":#" commands - , HLF_CLN // current line number + , HLF_LNA // LineNrAbove + , HLF_LNB // LineNrBelow + , HLF_CLN // current line number when 'cursorline' is set , HLF_R // return to continue message and yes/no questions , HLF_S // status lines , HLF_SNC // status lines of not-current windows @@ -118,6 +120,8 @@ EXTERN const char *hlf_names[] INIT(= { [HLF_M] = "MoreMsg", [HLF_CM] = "ModeMsg", [HLF_N] = "LineNr", + [HLF_LNA] = "LineNrAbove", + [HLF_LNB] = "LineNrBelow", [HLF_CLN] = "CursorLineNr", [HLF_R] = "Question", [HLF_S] = "StatusLine", |