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 with foldmethod=syntax #8

Open
phcerdan opened this issue Jun 29, 2018 · 2 comments
Open

Folding with foldmethod=syntax #8

phcerdan opened this issue Jun 29, 2018 · 2 comments
Assignees

Comments

@phcerdan
Copy link

phcerdan commented Jun 29, 2018

Maybe I am missing something in my vimrc with the folding options, but I am unable to fold based on syntax in cmake files. Shouldn't this be possible with the plugin?

I am specifically thinking on if() else() endif()
Thanks

@pboettch
Copy link
Owner

Never tried folding in CMake. I assume that folding-expression need to be marked in the syntax-file for vim to do foldmethod=syntax.

@pboettch pboettch self-assigned this Jun 30, 2018
@pboettch
Copy link
Owner

Well, I checked how this should be done and it seems to be a bit more tricky, than I imagined. If you can give a helping hand I'll be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants