diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index d84aa70..651d82f 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -441,7 +441,7 @@ function s:SetUpForNewFiletype(filetype, forceReset) endfunction function s:CreateDelimMapFromCms() - if exists('g:NERDDefaultDelims') + if &ft == '' && exists('g:NERDDefaultDelims') let delims = g:NERDDefaultDelims for i in ['left', 'leftAlt', 'right', 'rightAlt'] if !has_key(delims, i)