From 0bde67c6c8a74dc3f37eb412315288d0d28ac4ca Mon Sep 17 00:00:00 2001 From: Dario Sneidermanis Date: Sat, 17 Aug 2013 20:57:41 -0300 Subject: [PATCH] Allow highlight groups overriding The [default] argument is used for setting the default highlighting for a group. If highlighting has already been specified for the group the command will be ignored. Also when there is an existing link. --- autoload/sy/highlight.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autoload/sy/highlight.vim b/autoload/sy/highlight.vim index 6af87ef..b215ef9 100644 --- a/autoload/sy/highlight.vim +++ b/autoload/sy/highlight.vim @@ -11,13 +11,13 @@ let s:sign_change = get(g:, 'signify_sign_change', '!') " Function: #setup {{{1 function! sy#highlight#setup() abort - highlight link SignifyLineAdd DiffAdd - highlight link SignifyLineChange DiffChange - highlight link SignifyLineDelete DiffDelete + highlight default link SignifyLineAdd DiffAdd + highlight default link SignifyLineChange DiffChange + highlight default link SignifyLineDelete DiffDelete - highlight link SignifySignAdd DiffAdd - highlight link SignifySignChange DiffChange - highlight link SignifySignDelete DiffDelete + highlight default link SignifySignAdd DiffAdd + highlight default link SignifySignChange DiffChange + highlight default link SignifySignDelete DiffDelete endfunction " Function: #line_enable {{{1