From 18d64c8b9cb63341bdfca7cdd9edab24bc961a92 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Fri, 24 Jan 2025 22:37:58 -0500 Subject: [PATCH] Add python LSP --- lua/plugins/lsp.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6cfb1e1..2e3a222 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -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]