-
Notifications
You must be signed in to change notification settings - Fork 49
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
Is it possible to stop folds from opening when code is formatted? #107
Comments
Depend on whether your formatting provider support range formatting. |
@kevinhwang91 sorry to revive this issue, but could you please elaborate? Say that the client does support range formatting. In that case should it just work, or is there extra configuration needed? |
If your LSP client support |
does stylua support range formatting? |
You can use a ls server like https://github.com/mattn/efm-langserver to provide |
Any update on this issue ? Is there any solution to avoid nvim-ufo automatically closing all folds when:
Can the solution works with the most popular LSP configuration: nvim-lspconfig + Mason ? |
Feature description
This is less of a request and more of a question, just unsure which place to put this, when my code is formatted (say through null-ls) all of my folds are automatically opened.
Describe the solution you'd like
The question I suppose, is that something that has to happen or could it be avoided?
Thanks so much for this plugin, it truly is incredible!
Additional context
No response
The text was updated successfully, but these errors were encountered: