diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2015-02-01 20:28:23 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-02-02 01:16:41 -0500 |
commit | 4d70aae770e33c45a194634d11b9c49e866dd84b (patch) | |
tree | bb0373a3f6eecd9b7a6dc2c10d29b2250d385319 /src/nvim/option.c | |
parent | 84ca5f973de7e9ce0fe60d7e3b39d6724dc8af8c (diff) | |
download | rneovim-4d70aae770e33c45a194634d11b9c49e866dd84b.tar.gz rneovim-4d70aae770e33c45a194634d11b9c49e866dd84b.tar.bz2 rneovim-4d70aae770e33c45a194634d11b9c49e866dd84b.zip |
Add EndOfBuffer hl group for ~ lines after the last line in buffers
This makes it possible to highlight the lines starting with ~ at the end
of buffers and other elements highlighted using NonText.
As proposed by mhinz at
https://groups.google.com/forum/#!topic/vim_dev/p3de1iU1GXI/discussion
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 0199c5fc6c..2d16c0fa71 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -365,8 +365,8 @@ typedef struct vimoption { # define ISP_LATIN1 (char_u *)"@,161-255" #define HIGHLIGHT_INIT \ - "8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search," \ - "m:MoreMsg,M:ModeMsg,n:LineNr,N:CursorLineNr,r:Question,s:StatusLine," \ + "8:SpecialKey,~:EndOfBuffer,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch," \ + "l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,N:CursorLineNr,r:Question,s:StatusLine," \ "S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg," \ "W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete," \ "T:DiffText,>:SignColumn,-:Conceal,B:SpellBad,P:SpellCap,R:SpellRare," \ |