aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2015-04-09 11:14:22 -0400
committerScott Prager <splinterofchaos@gmail.com>2015-04-09 11:14:22 -0400
commit4a7364c807a5ff03e7e4fd94549bc64a00f6ea99 (patch)
tree0a40a1766194763d035e7afdfd74a172349e0d08 /src/nvim/globals.h
parentbae1da3f74ec91b8a79c764aa0277d96c932b2aa (diff)
parentcd7b910e8144dcc6092c7b1e1bfdc3193fdd643b (diff)
downloadrneovim-4a7364c807a5ff03e7e4fd94549bc64a00f6ea99.tar.gz
rneovim-4a7364c807a5ff03e7e4fd94549bc64a00f6ea99.tar.bz2
rneovim-4a7364c807a5ff03e7e4fd94549bc64a00f6ea99.zip
Merge pull request #2374 from mhinz/hl-group-termcursor
[RDY] Add new highlight groups TermCursor and TermCursorNC
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index d7087ee928..76ddd693a8 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -404,7 +404,9 @@ EXTERN int no_check_timestamps INIT(= 0); /* Don't check timestamps */
typedef enum {
HLF_8 = 0 /* Meta & special keys listed with ":map", text that is
displayed different from what it is */
- , HLF_EOB // after the last line in the buffer
+ , HLF_EOB //< after the last line in the buffer
+ , HLF_TERM //< terminal cursor focused
+ , HLF_TERMNC //< terminal cursor unfocused
, HLF_AT /* @ characters at end of screen, characters that
don't really exist in the text */
, HLF_D /* directories in CTRL-D listing */
@@ -451,10 +453,10 @@ 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', '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', '+', '=', 'x', 'X', \
- '*', '#', '_', '!', '.', 'o'}
+#define HL_FLAGS {'8', '~', 'z', 'Z', '@', 'd', 'e', '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', '+', '=', \
+ 'x', 'X', '*', '#', '_', '!', '.', 'o'}
EXTERN int highlight_attr[HLF_COUNT]; /* Highl. attr for each context. */
EXTERN int highlight_user[9]; /* User[1-9] attributes */