fix: new lsp

This commit is contained in:
2024-04-29 19:06:42 +08:00
parent cabec5bd63
commit 27dff38b7c
2 changed files with 17 additions and 1 deletions
+15
View File
@@ -134,6 +134,21 @@ return {
init_options = { usePlaceholders = true, completeUnimported = true },
},
},
pylsp = {
setup = {
cmd = { "pylyzer", "--server" },
filetypes = { "python" },
settings = {
python = {
checkOnType = false,
diagnostics = true,
inlayHints = true,
smartCompletion = true
}
},
single_file_support = true,
}
}
},
setup = {},
},