New highlight group: StartifyHeader

It links to Normal by default.

References #27.
This commit is contained in:
Marco Hinz 2013-07-11 13:37:04 +02:00
parent 7a710d92d8
commit 340f4b6835

View file

@ -17,6 +17,11 @@ syntax match StartifyFile /.*/ contains=StartifyBracket,StartifyNumber,Starti
execute 'syntax match StartifySlash /\'. s:sep .'/'
execute 'syntax match StartifyPath /\%9c.*\'. s:sep .'/ contains=StartifySlash'
if exists('g:startify_custom_header')
execute 'syntax region StartifyHeader start=/\%1l/ end=/\%'. (len(g:startify_custom_header) + 1) .'l/'
endif
highlight link StartifyHeader Normal
highlight link StartifyBracket Delimiter
highlight link StartifyNumber Number