feat(lsp): use jedi+pyright until pyrefly is more mature
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---@type ServerConfig
|
||||
return {
|
||||
mason = { "jedi-language-server" },
|
||||
lspconfig = {
|
||||
filetypes = {
|
||||
"python",
|
||||
},
|
||||
cmd = { "jedi-language-server" },
|
||||
single_file_support = true,
|
||||
init_options = {
|
||||
completion = {
|
||||
disableSnippets = true,
|
||||
},
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user