Restore use to IsCharCommented function after autoload refactor goof

This commit is contained in:
Caleb Maclennan
2021-07-29 16:29:04 +03:00
parent f21b0f8fab
commit 8e935a6367
2 changed files with 6 additions and 2 deletions

View File

@@ -107,6 +107,10 @@ function! NERDCommentIsLineCommented(lineNo)
return nerdcommenter#IsLineCommented(a:lineNo)
endfunction
function! NERDCommentIsCharCommented(line, col)
return nerdcommenter#IsCharCommented(a:line, a:col)
endfunction
inoremap <silent> <Plug>NERDCommenterInsert <Space><BS><Esc>:call nerdcommenter#Comment('i', "insert")<CR>
" switch to/from alternative delimiters (does not use wrapper function)