runtime(comment): fix syntax error
fixes: #15767 closes: #15770 Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5dd4ec0089
commit
0fb25515cc
@ -1,4 +1,4 @@
|
||||
*comment.txt* For Vim version 9.1. Last change: 2024 Sep 29
|
||||
*comment.txt* For Vim version 9.1. Last change: 2024 Sep 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL
|
||||
@ -27,7 +27,7 @@ To comment the rest of the line by `gC` whenever the filetype plugin
|
||||
supports it (that is, whenever the comment marker precedes the code) and fall
|
||||
back to `gcc` otherwise, add the following mapping to your vimrc: >
|
||||
|
||||
nnoremap <silent> <expr> gC comment.Toggle() .. '$'
|
||||
nnoremap <silent> <expr> gC comment#Toggle() .. '$'
|
||||
<
|
||||
Note: using `gC` may not always result in valid comment markers depending on
|
||||
the language used.
|
||||
|
||||
Reference in New Issue
Block a user