From: Iain Patterson Date: Mon, 1 Feb 2010 13:43:55 +0000 (+0000) Subject: Fix MarkLine highlighting. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=d9c5170b2c04449076f00a1cff2c03d12dbe96d2;p=profile.git Fix MarkLine highlighting. Marks which are highlighted with MarkLine weren't being highlighted correctly since the big sign code refactoring. --- diff --git a/.vimrc b/.vimrc index 398e981..db2ed41 100644 --- a/.vimrc +++ b/.vimrc @@ -733,7 +733,7 @@ fun! Highlight_Signs(...) "{{{2 let l:var = tolower(l:name) let l:sign = substitute(l:sign, '^[A-Za-z]\+', "", "") let l:ascii = matchstr(l:sign, '^:.') - let l:mark = substitute(l:sign, '^\(:.\)*[.-=]', "", "") + let l:mark = substitute(l:sign, '^\(:.\)*[.=-]', "", "") if strlen(l:ascii) let l:ascii = substitute(l:ascii, '^:', "", "") else @@ -787,7 +787,7 @@ fun! Cycle_Signs(resize) "{{{2 let l:sign = substitute(l:sign, ':.', "", "") let l:sign = substitute(l:sign, '=', " texthl=MarkSign text=", "") let l:sign = substitute(l:sign, '\.', " texthl=MarkDot text=", "") - let l:sign = substitute(l:sign, '-', " texthl=MarkLine text=", "") + let l:sign = substitute(l:sign, '-', " texthl=MarkLine linehl=MarkLine text=", "") exe "sign define Mark" . l:sign