We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vim-anyfold doesn't fold import/include statements currently.
We should fold #import/#include statements for java, cpp, c, python etc. Most major IDEs currently do this.
The text was updated successfully, but these errors were encountered:
This is supported by vim-anyfold but not enabled by default. For java, cpp, c, python, the following configuration should work:
autocmd filetype java,cpp,c,python let b:anyfold_activate=1 autocmd filetype cpp,c let g:anyfold_identify_comments=1 autocmd filetype python,java let g:anyfold_identify_comments=2 let g:anyfold_fold_comments=1 let g:anyfold_comments=['comment','string','external','include']
Sorry, something went wrong.
Thanks!
The suggested configuration works. I will close the issue.
No branches or pull requests
vim-anyfold doesn't fold import/include statements currently.
We should fold #import/#include statements for java, cpp, c, python etc.
Most major IDEs currently do this.
The text was updated successfully, but these errors were encountered: