Fix MarkLine highlighting.
[profile.git] / .vimrc
diff --git a/.vimrc b/.vimrc
index 398e981..db2ed41 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -733,7 +733,7 @@ fun! <SID>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! <SID>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