Add jedi lsp config
This commit is contained in:
parent
d5bdd20a44
commit
08706f88a2
|
@ -52,6 +52,7 @@ local config = function()
|
||||||
local lsp = require("lspconfig")
|
local lsp = require("lspconfig")
|
||||||
if vim.fn.executable("pyright") == 1 then lsp["pyright"].setup(lsp_config) end
|
if vim.fn.executable("pyright") == 1 then lsp["pyright"].setup(lsp_config) end
|
||||||
if vim.fn.executable("pylsp") == 1 then lsp["pylsp"].setup(lsp_config) end
|
if vim.fn.executable("pylsp") == 1 then lsp["pylsp"].setup(lsp_config) end
|
||||||
|
if vim.fn.executable("jedi-language-server") == 1 then lsp["jedi_language_server"].setup(lsp_config) end
|
||||||
if vim.fn.executable("ruff-lsp") == 1 then lsp["ruff_lsp"].setup(lsp_config) end
|
if vim.fn.executable("ruff-lsp") == 1 then lsp["ruff_lsp"].setup(lsp_config) end
|
||||||
if vim.fn.executable("lua-language-server") == 1 then lsp["lua_ls"].setup(lsp_config) end
|
if vim.fn.executable("lua-language-server") == 1 then lsp["lua_ls"].setup(lsp_config) end
|
||||||
if vim.fn.executable("nil") == 1 then lsp["nil_ls"].setup(lsp_config) end
|
if vim.fn.executable("nil") == 1 then lsp["nil_ls"].setup(lsp_config) end
|
||||||
|
|
Loading…
Reference in a new issue