Prevent caching of buffer commentstring (#514)

This commit is contained in:
Yuxin Wu
2023-04-20 09:38:56 -07:00
committed by GitHub
parent d069f7fb56
commit 457b383767

View File

@@ -460,10 +460,6 @@ endif
" This function is responsible for setting up buffer scoped variables for the " This function is responsible for setting up buffer scoped variables for the
" current buffer. " current buffer.
function! nerdcommenter#SetUp() abort function! nerdcommenter#SetUp() abort
if exists('b:NERDCommenterDelims')
return
endif
let filetype = &filetype let filetype = &filetype
"for compound filetypes, if we don't know how to handle the full filetype "for compound filetypes, if we don't know how to handle the full filetype