|
|
|
@ -118,6 +118,10 @@ return {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
lsp.pylsp.setup({})
|
|
|
|
|
lsp.ruff.setup({})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Workaround for rust_analzyer issue
|
|
|
|
|
for _, method in ipairs({ 'textDocument/diagnostic', 'workspace/diagnostic' }) do
|
|
|
|
|
local default_diagnostic_handler = vim.lsp.handlers[method]
|
|
|
|
|