From 5086e240dbfb1af59b3783a8b90465974b546d9e Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 18 Apr 2013 14:01:38 +0200 Subject: [PATCH] use NONE instead of none --- doc/signify.txt | 4 ++-- plugin/signify.vim | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/signify.txt b/doc/signify.txt index fecb1de..16009bd 100644 --- a/doc/signify.txt +++ b/doc/signify.txt @@ -167,12 +167,12 @@ Enable line highlighting in addation to using signs. let g:signify_sign_weight = 'bold' -Possible values: 'bold' (default), 'none' +Possible values: 'bold' (default), 'NONE' Use either bold or normal font weight. NOTE: If you experience colors not getting set properly, try changing this -variable to 'none'. +variable to 'NONE'. ============- diff --git a/plugin/signify.vim b/plugin/signify.vim index f83db37..abcb234 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -43,7 +43,7 @@ else let s:difftool = 'diff' endif -sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=none +sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=NONE " Init: autocmds {{{1 augroup signify @@ -472,11 +472,11 @@ endfunction " Function: s:line_highlighting_disable {{{1 function! s:line_highlighting_disable() abort - execute 'sign define SignifyAdd text='. s:sign_add .' texthl=SignifyAdd linehl=none' - execute 'sign define SignifyChange text='. s:sign_change .' texthl=SignifyChange linehl=none' - execute 'sign define SignifyChangeDelete text='. s:sign_change_delete .' texthl=SignifyChange linehl=none' - execute 'sign define SignifyDelete text='. s:sign_delete .' texthl=SignifyDelete linehl=none' - execute 'sign define SignifyDeleteFirstLine text='. s:sign_delete_first_line .' texthl=SignifyDelete linehl=none' + execute 'sign define SignifyAdd text='. s:sign_add .' texthl=SignifyAdd linehl=NONE' + execute 'sign define SignifyChange text='. s:sign_change .' texthl=SignifyChange linehl=NONE' + execute 'sign define SignifyChangeDelete text='. s:sign_change_delete .' texthl=SignifyChange linehl=NONE' + execute 'sign define SignifyDelete text='. s:sign_delete .' texthl=SignifyDelete linehl=NONE' + execute 'sign define SignifyDeleteFirstLine text='. s:sign_delete_first_line .' texthl=SignifyDelete linehl=NONE' let s:line_highlight = 0 endfunction