mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-12 03:33:48 -05:00
fix startup init omitted for empty filetype (my bad)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user