diff --git a/autoload/sy.vim b/autoload/sy.vim index 378e104..5997c52 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -2,9 +2,6 @@ scriptencoding utf-8 -" Init: values {{{1 -let s:has_doau_modeline = v:version > 703 || v:version == 703 && has('patch442') - " Function: #start {{{1 function! sy#start() abort if g:signify_locked diff --git a/autoload/sy/sign.vim b/autoload/sy/sign.vim index a080586..8a0fd3c 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -257,7 +257,7 @@ function! sy#sign#set_signs(sy, vcs, diff) abort call sy#sign#process_diff(a:sy, a:vcs, a:diff) if exists('#User#Signify') - execute 'doautocmd' (s:has_doau_modeline ? '' : '') 'User Signify' + doautocmd User Signify endif endfunction diff --git a/plugin/signify.vim b/plugin/signify.vim index 26e2e2b..9ef5b59 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -9,7 +9,6 @@ endif " Init: values {{{1 let g:loaded_signify = 1 let g:signify_locked = 0 -let s:has_doau_modeline = v:version > 703 || v:version == 703 && has('patch442') " Init: autocmds {{{1 augroup signify @@ -117,5 +116,5 @@ function! s:save() endfunction if exists('#User#SignifySetup') - execute 'doautocmd' (s:has_doau_modeline ? '' : '') 'User SignifySetup' + doautocmd User SignifySetup endif