-
Notifications
You must be signed in to change notification settings - Fork 154
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
ERB support seems to have disabled HTML folding #2394
Comments
I reverted back to 0.7.10 to stop seeing errors in my erb |
I can reproduce this and am investigating it 👍 |
Based on these discussions:
It looks like VS Code doesn't support multiple folding range providers on the same type of file. So the only way to solve this issue is to tell VS Code to NOT use Ruby LSP's folding range when the file is |
Is there a way to do that through config? |
it is work for me too, thx! |
Do you mean switching between Ruby folding and HTML folding? |
yes, I guess that could be useful, although in my case I would take the HTML folding over erb folding almost every time |
Before erb support was added, it was possible to fold HTML tags in erb files
Since erb support, only ruby expressions are foldable.
Disabling erb support reverts the behaviour as expected.
It would be amazing to be able to fold both ruby expressions and HTML tags with Ruby LSP
The text was updated successfully, but these errors were encountered: