Skip to content

Commit

Permalink
Revert "Prevent caching of buffer commentstring (#514)"
Browse files Browse the repository at this point in the history
This reverts commit 457b383.
  • Loading branch information
alerque committed Apr 20, 2023
1 parent c676669 commit bd1a295
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/nerdcommenter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd1a295

Please sign in to comment.