From 4d70aae770e33c45a194634d11b9c49e866dd84b Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 1 Feb 2015 20:28:23 -0300 Subject: 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 --- runtime/doc/syntax.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'runtime/doc/syntax.txt') diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 1841f83214..c1f7e06f0e 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4761,6 +4761,9 @@ DiffChange diff mode: Changed line |diff.txt| DiffDelete diff mode: Deleted line |diff.txt| *hl-DiffText* DiffText diff mode: Changed text within a changed line |diff.txt| + *hl-EndOfBuffer* +EndOfBuffer filler lines (~) after the end of the buffer. + By default, this is highlighted like |hl-NonText|. *hl-ErrorMsg* ErrorMsg error messages on the command line *hl-VertSplit* @@ -4789,10 +4792,10 @@ ModeMsg 'showmode' message (e.g., "-- INSERT --") *hl-MoreMsg* MoreMsg |more-prompt| *hl-NonText* -NonText '~' and '@' at the end of the window, characters from - 'showbreak' and other characters that do not really exist in - the text (e.g., ">" displayed when a double-wide character - doesn't fit at the end of the line). +NonText '@' at the end of the window, characters from 'showbreak' + and other characters that do not really exist in the text + (e.g., ">" displayed when a double-wide character doesn't + fit at the end of the line). See also |hl-EndOfBuffer|. *hl-Normal* Normal normal text *hl-Pmenu* -- cgit