Skip to content

Commit da948e1

Browse files
authored
fix: Ensure #Setup is run in #IsCharCommented (#527)
1 parent c52b6e7 commit da948e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/nerdcommenter.vim

+1
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,7 @@ endfunction
13191319
" -col the column number of the character
13201320
" Return: Number, 1 if the character is inside a comment, 0 if is not
13211321
function! nerdcommenter#IsCharCommented(line, col) abort
1322+
call nerdcommenter#SetUp()
13221323
" Function: s:searchfor(str, line, col, direction, [maxline])
13231324
" search str in the buffer, including the character at [line, col]
13241325
" Args:

0 commit comments

Comments
 (0)