From 9e69cb28f944d8377dd1ed6d2aa9ab023b59e36d Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 11 Jul 2013 14:05:22 +0200 Subject: [PATCH] StartifyHeader region: fix off-by-one --- syntax/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/startify.vim b/syntax/startify.vim index b711dda..67a713b 100644 --- a/syntax/startify.vim +++ b/syntax/startify.vim @@ -18,7 +18,7 @@ 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/' + execute 'syntax region StartifyHeader start=/\%1l/ end=/\%'. (len(g:startify_custom_header) + 2) .'l/' endif highlight link StartifyHeader Normal