-
Notifications
You must be signed in to change notification settings - Fork 144
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
Plugin causes folds to not work properly. #119
Comments
I'm not sure what you're asking for here. You want imports to be folded by default? |
He added a custom line of config to get imports to fold automatically, but when vim-scala is active for |
Is there a way to turn off the folds created by @derekwyatt That was unclear, basically what @ches mentions above. When |
I've been using the plugin since started using Scala and it is awesome, thanks for the work! Recently I started using Intellij for jumping into function definitions and noticed that the imports in the file are folded. So I've added a
syn region foldImports start="import" end=/import.*\n^$/ fold keepend
configuration to my.vimrc
file to fold import statments. However I noticed that line of code did not work with vim-autoclose orvim-scala
. When I removed the plugins the fold worked as expected. Here are examples of it not folding and folding. You can ignore the fold on the object in the first image.Not folding.
Folding
The text was updated successfully, but these errors were encountered: