-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Set init_options for each language #164
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am using efm-langserver with
nvim-lspconfig
, this is my configuration:As you can see, for golang I am using efm only for lint, the rest I do using
gopls
; There is a problem though, for typescript I am using prettier for formating, so I need to setinit_options = {documentFormatting = true}
and I have a format command set on save. For typescript it is ok, but for go, I have 2 server which offer documentFormating, so everytime I save a document I need to select the LSP I want to use for formatting. In this case my EFM don't format for Go so it is useless and inconvenient. I wonder if it is possible to do something like:The text was updated successfully, but these errors were encountered: