I have a C++ file where the code folding is completely wrong.
I tried to attach that file here, but only the images are allowed as attachments.
Please take a look at the screenshot:
The errors here are:
- Line 37: a single-line comment opens a fold block (???)
- Line 62: a single-line comment opens a fold block (???)
- Line 73: a single-line comment opens a fold block (???)
As a consequence, real foldings at higher levels (for example, the for-loop and the if-block shown on the screenshot) do not work correctly.