Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folding issues #54

Closed
Irubataru opened this issue Dec 5, 2016 · 1 comment
Closed

Folding issues #54

Irubataru opened this issue Dec 5, 2016 · 1 comment

Comments

@Irubataru
Copy link

The second problem I am having is related to folding. Every time I run ClangFormat it refolds my document, which is somewhat disrupting to my workflow. Once more, I have included a gif to illustrate my point

folding

I have the same minimal installation as in #53.

I am using vim version 7.4.2367, compiled from source.

Other than that I really love the plugin, and am looking forward to being able to use it for my projects ❤️

@rhysd
Copy link
Owner

rhysd commented Apr 9, 2017

Thank you for reporting this but I can't fix this because the structure of code is changed between before formatting and after formatting. So vim-clang-format cannot determine which folding should be open and which one should not.

@rhysd rhysd closed this as completed Apr 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants