-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Formatting breaks PostgreSQL code #105
Comments
Check whether you have two sqls LSP servers active same time. |
I only have sqls for sql files |
just ran into same issue |
I have a hunch the nvim plugin is allowing the document formatting params to be their defaults, meaning InsertSpaces is false here:
|
okay, this was actually quite silly, i had no conenctions configured because i thought the docs for the neovim plugin that wraps the underlying lsp plugin were all i needed to do. |
same happening to me, breaking all queries with auto format |
I'm using neovim with nanotee/sqls.nvim plugin but formatting doesn't seem to work properly.
For example, this code:
Will be formatted to:
The text was updated successfully, but these errors were encountered: