From 340f4b68352b34ba1dbd74d8b29d26f601d292b2 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 11 Jul 2013 13:37:04 +0200 Subject: [PATCH] New highlight group: StartifyHeader It links to Normal by default. References #27. --- syntax/startify.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syntax/startify.vim b/syntax/startify.vim index 401d369..b711dda 100644 --- a/syntax/startify.vim +++ b/syntax/startify.vim @@ -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