fix startup init omitted for empty filetype (my bad)

This commit is contained in:
Andy Wokula
2019-05-01 11:30:13 +02:00
parent 20f9e88395
commit c888c82828

View File

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