Skip to content

Commit

Permalink
fix: Ensure #Setup is run in #IsCharCommented (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf0330 authored Nov 2, 2023
1 parent c52b6e7 commit da948e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/nerdcommenter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,7 @@ endfunction
" -col the column number of the character
" Return: Number, 1 if the character is inside a comment, 0 if is not
function! nerdcommenter#IsCharCommented(line, col) abort
call nerdcommenter#SetUp()
" Function: s:searchfor(str, line, col, direction, [maxline])
" search str in the buffer, including the character at [line, col]
" Args:
Expand Down

0 comments on commit da948e1

Please sign in to comment.