summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-03-23 16:25:17 +0100
committerBram Moolenaar <Bram@vim.org>2012-03-23 16:25:17 +0100
commit06ca513e2c25e2e2f63580f7d3d741236e17a19e (patch)
treef3133210eb6bf69a22e4ea53261e6b06c5d339d9 /src/syntax.c
parent507cc8acf1175d7d15abc004ace214dfeffc031c (diff)
downloadvim-git-06ca513e2c25e2e2f63580f7d3d741236e17a19e.tar.gz
updated for version 7.3.479v7.3.479
Problem: When 'cursorline' is set the line number highlighting can't be set separately. Solution: Add "CursorLineNr". (Howard Buchholz)
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 7b045680d..b5bffc31a 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -6538,6 +6538,8 @@ static char *(highlight_init_light[]) =
"Directory term=bold ctermfg=DarkBlue guifg=Blue"),
CENT("LineNr term=underline ctermfg=Brown",
"LineNr term=underline ctermfg=Brown guifg=Brown"),
+ CENT("CursorLineNr term=bold ctermfg=Brown",
+ "CursorLineNr term=bold ctermfg=Brown gui=bold guifg=Brown"),
CENT("MoreMsg term=bold ctermfg=DarkGreen",
"MoreMsg term=bold ctermfg=DarkGreen gui=bold guifg=SeaGreen"),
CENT("Question term=standout ctermfg=DarkGreen",
@@ -6626,6 +6628,8 @@ static char *(highlight_init_dark[]) =
"Directory term=bold ctermfg=LightCyan guifg=Cyan"),
CENT("LineNr term=underline ctermfg=Yellow",
"LineNr term=underline ctermfg=Yellow guifg=Yellow"),
+ CENT("CursorLineNr term=bold ctermfg=Yellow",
+ "CursorLineNr term=bold ctermfg=Yellow gui=bold guifg=Yellow"),
CENT("MoreMsg term=bold ctermfg=LightGreen",
"MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen"),
CENT("Question term=standout ctermfg=LightGreen",