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/screen.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/screen.c')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 6d25c4359b..9deaa7979f 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -1651,7 +1651,7 @@ static void win_update(win_T *wp) /* make sure the rest of the screen is blank */ /* put '~'s on rows that aren't part of the file. */ - win_draw_end(wp, '~', ' ', row, wp->w_height, HLF_AT); + win_draw_end(wp, '~', ' ', row, wp->w_height, HLF_EOB); } /* Reset the type of redrawing required, the window has been updated. */ |