Skip to content

how to let mini.comment comment c++ code with //... instead of /*...*/ #669

Closed Answered by echasnovski
lainegates asked this question in Q&A
Discussion options

You must be logged in to vote

'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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lainegates
Comment options

@echasnovski
Comment options

@lainegates
Comment options

@echasnovski
Comment options

@lainegates
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants