Mercurial > vim
diff src/screen.c @ 9877:7da89d9c744b v7.4.2213
commit https://github.com/vim/vim/commit/58b853460add42098ab08017df9e030fb14fd34b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 19:54:54 2016 +0200
patch 7.4.2213
Problem: Cannot highlight the "~" lines at the end of a window differently.
Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 14 Aug 2016 20:00:05 +0200 |
parents | 4eea48b76d03 |
children | 4e8b05fa12c6 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2205,7 +2205,7 @@ 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. */