Please, read :h:comment
in the embedded help system. To quote the most relevant part:
It is not possible to add a comment to a shell command "::cmd" or to the ":map" command and a few others (mainly commands that expect expressions) that see the '"' as part of their argument:
...A long list follows...
So just don't.
vim's docs say the following:
It is not possible to add a comment to a shell command "::cmd" or to the ",map" command and a few others. because they see the '"'' as part of their argument. This is mentioned where the command is explained.
Just put your comments on preceding lines.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.