From d9c5170b2c04449076f00a1cff2c03d12dbe96d2 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 1 Feb 2010 13:43:55 +0000 Subject: [PATCH] Fix MarkLine highlighting. Marks which are highlighted with MarkLine weren't being highlighted correctly since the big sign code refactoring. --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1