fix(lsp.python): only call default on_attach once

This commit is contained in:
2025-11-08 04:55:50 +01:00
parent 9cef10b384
commit 879086c389
+2 -1
View File
@@ -419,7 +419,8 @@ function M.setup()
}) })
vim.lsp.config("pyright", { vim.lsp.config("pyright", {
on_attach = M.with_defaults("pyright"), -- Handled in ruff instead
-- on_attach = M.with_defaults("pyright"),
settings = { settings = {
python = { python = {
analysis = { analysis = {