diff src/vim.h @ 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 80ace3687eec
children 74e345d2878c
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -1363,7 +1363,8 @@ typedef enum
 {
     HLF_8 = 0	    /* Meta & special keys listed with ":map", text that is
 		       displayed different from what it is */
-    , HLF_AT	    /* @ and ~ characters at end of screen, characters that
+    , HLF_EOB	    /* after the last line in the buffer */
+    , HLF_AT	    /* @ characters at end of screen, characters that
 		       don't really exist in the text */
     , HLF_D	    /* directories in CTRL-D listing */
     , HLF_E	    /* error messages */
@@ -1410,7 +1411,7 @@ typedef enum
 
 /* The HL_FLAGS must be in the same order as the HLF_ enums!
  * When changing this also adjust the default for 'highlight'. */
-#define HL_FLAGS {'8', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \
+#define HL_FLAGS {'8', '~', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \
 		  'n', 'N', 'r', 's', 'S', 'c', 't', 'v', 'V', 'w', 'W', \
 		  'f', 'F', 'A', 'C', 'D', 'T', '-', '>', \
 		  'B', 'P', 'R', 'L', \