Closed alexsotocx closed 2 years ago
Hello and Thanks for the amazing job.
I started to use recently efm server to configure python formatter using the nvim lsp. But when running the go formatting option it always ask me which language server to use:
But the strange thing is that I didn't configure go for it. as you can see here https://github.com/alexsotocx/nvim-conf/blob/main/lua/plugins/lsp/init.lua#L79-L89
lsp.efm.setup { on_attach = on_attach, capabilities = cmp.capabilities, init_options = { documentFormatting = true }, settings = { rootMarkers = { ".git/" }, languages = { python = { { formatCommand = "autopep8 -", formatStdin = true } } } } }
I would like to ask what is the way to avoid this kind of conflict.
Here are some screenshots
Closed as duplciated of https://github.com/mattn/efm-langserver/issues/164
Hello and Thanks for the amazing job.
I started to use recently efm server to configure python formatter using the nvim lsp. But when running the go formatting option it always ask me which language server to use:
But the strange thing is that I didn't configure go for it. as you can see here https://github.com/alexsotocx/nvim-conf/blob/main/lua/plugins/lsp/init.lua#L79-L89
I would like to ask what is the way to avoid this kind of conflict.
Here are some screenshots
![Screenshot 2022-08-01 7 45 08 PM](https://user-images.githubusercontent.com/6225534/182211572-cedb7ca0-0dba-4f2b-9f87-b702d40b21df.png)