VimFold4C
VimFold4C copied to clipboard
Vim folding ftplugin for C & C++ (and similar langages)
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...
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)...
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...
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...
- [ ] increment fold level for every `case` - [ ] [optional] highlight cases that aren't separated by a `break;` or that have a `[[fallthrough]]`
It should be possible to fold `public:`, `private:` and `protected` blocks.
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