Closed acsezen closed 1 year ago
Hello,
I am getting[LSP] Format request failed, no matching language servers. error when i run vim.lsp.buff.format().
[LSP] Format request failed, no matching language servers.
vim.lsp.buff.format()
I have this setup for lspconfig;
lspconfig.pylsp.setup { on_attach = on_attach, capabilities = capabilities, settings = { pylsp = { configurationSources = { "flake8" }, plugins = { flake8 = { enabled = true, ignore = { "E501, E203" }, maxLineLength = 88 }, jedi_completion = { enabled = true }, jedi_definition = { enabled = true }, jedi_hover = { enabled = true }, jedi_references = { enabled = true }, jedi_signature_help = { enabled = true }, jedi_symbols = { enabled = true, all_scopes = true }, mccabe = { enabled = false }, pycodestyle = { enabled = false }, pyflakes = { enabled = false }, yapf = { enabled = true}, }, }, }, }
Not sure if its a configuration problem or a bug.
Thanks
I have the same issue. What was the solution?
I couldn't find a solution. I switched to null-ls.
Hello,
I am getting
[LSP] Format request failed, no matching language servers.
error when i runvim.lsp.buff.format()
.I have this setup for lspconfig;
Not sure if its a configuration problem or a bug.
Thanks