mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-09 10:13:48 -05:00
fix: Ensure #Setup is run in #IsCharCommented (#527)
This commit is contained in:
@@ -1319,6 +1319,7 @@ endfunction
|
|||||||
" -col the column number of the character
|
" -col the column number of the character
|
||||||
" Return: Number, 1 if the character is inside a comment, 0 if is not
|
" Return: Number, 1 if the character is inside a comment, 0 if is not
|
||||||
function! nerdcommenter#IsCharCommented(line, col) abort
|
function! nerdcommenter#IsCharCommented(line, col) abort
|
||||||
|
call nerdcommenter#SetUp()
|
||||||
" Function: s:searchfor(str, line, col, direction, [maxline])
|
" Function: s:searchfor(str, line, col, direction, [maxline])
|
||||||
" search str in the buffer, including the character at [line, col]
|
" search str in the buffer, including the character at [line, col]
|
||||||
" Args:
|
" Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user