Revert "Prevent caching of buffer commentstring (#514)"

This reverts commit 457b383767.
This commit is contained in:
Caleb Maclennan
2023-04-20 19:50:28 +03:00
parent c6766698d8
commit bd1a29536d

View File

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