how to let mini.comment
comment c++ code with //...
instead of /*...*/
#669
-
Is there a config parameter that let |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Jan 25, 2024
Replies: 1 comment 5 replies
-
'mini.comment' infers comment structure based on 'commentstring' option. My suggestion would be to create a file 'after/ftplugin/cpp.lua' and put |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
echasnovski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'mini.comment' infers comment structure based on 'commentstring' option.
My suggestion would be to create a file 'after/ftplugin/cpp.lua' and put
vim.bo.commentstring = '// %s'
line there.