VimFold4C icon indicating copy to clipboard operation
VimFold4C copied to clipboard

Vim folding ftplugin for C & C++ (and similar langages)

Results 8 VimFold4C issues
Sort by recently updated
recently updated
newest added

Hi, The plugin is a bit slow sometimes when reading big cpp files (>2000 lines). Is there any way to work around this issue? Any kind of caching or disabling...

enhancement

The `merge_comments` feature is very nice, but is defeated when comments are separated from functions by a blank line. ``` /* This function does important stuff! */ void do_the_stuff (void)...

bug

Because of the cache used to keep performances acceptable, the folds quickly become out-of-sync. See if there is a way to correct this situation. Possible approaches: - may be by...

enhancement
help wanted

That check the behavior of the plugin with various set of options - `#include` merged or not - with comments merged or not - fold text regarding the maximum line...

enhancement

This control-statement requires a specific handling.

bug

- [ ] increment fold level for every `case` - [ ] [optional] highlight cases that aren't separated by a `break;` or that have a `[[fallthrough]]`

enhancement

It should be possible to fold `public:`, `private:` and `protected` blocks.

enhancement

Following example source code ```cpp #include #include int main() { std::vector v = {0, 1, 2, 3, 4, 5}; for (const int& i : v) { std::cout