Use more cautious init check

This commit is contained in:
Andy Wokula
2017-11-01 20:50:25 +01:00
committed by Caleb Maclennan
parent 592d5767e0
commit a5772187fa

View File

@@ -3040,6 +3040,8 @@ nnoremap <Plug>NERDCommenterAltDelims :call <SID>SwitchToAlternativeDelimiters(1
" This is a workaround to enable lazy-loading from supported plugin managers:
" See https://github.com/scrooloose/nerdcommenter/issues/176
call s:SetUpForNewFiletype(&filetype, 1)
if !has('vim_starting')
call s:SetUpForNewFiletype(&filetype, 1)
endif
" vim: set foldmethod=marker :