-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
messes up files when writing into multiple files at once with multiple formating lsp providers #58
Comments
I found some issues when writing a buffer that is not the current one, I made a PR here #59 Can you check if the PR changes anything? |
Is there a config option to not format anything except the focused buffer? I'm not sure if it's exactly the same thing as this issue, but I seem to get stuck in loops where if I save a file, every other buffer ends up with changes preventing |
this is a different issue, and it should not happen. |
how to reproduce:
vim lua/**/*.lua
bufdo w
vim will start writing into all those files and lsp-format will endup with file contents mixed between the files. e.g.
file
foo
will have content of filebar
, which, in turn will have content of filebaz
etc.The text was updated successfully, but these errors were encountered: