Is it possible to configure vim and cindent not to indent the C ++ comments when the file is pressed again (gg = G)?
I have some formed lists in comments consistent with 4 spaces, but vim interprets this as a bad indent and rebuilds everything.
For instance:
becomes:
I want to find out vim: "Don't touch the contents of the comments, but back off everything else."
This is important because our project uses markdown doxygen, such as a parser to generate documentation, and indents are used at list levels.
source
share