From 69b77bc290dcf94a74adb1ab043567a284b85793 Mon Sep 17 00:00:00 2001 From: zhaoyunfeng Date: Thu, 2 Nov 2023 18:35:44 +0800 Subject: [PATCH] fix: IsCharCommented doesn't setup --- autoload/nerdcommenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/nerdcommenter.vim b/autoload/nerdcommenter.vim index 7cea396..bc4c72e 100644 --- a/autoload/nerdcommenter.vim +++ b/autoload/nerdcommenter.vim @@ -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: