Exchange pyright for jedi_language_server

main
Ensar Sarajčić 2023-05-23 17:42:05 +02:00
parent 9cbc4a1b45
commit 6ab0168596
1 changed files with 2 additions and 14 deletions

View File

@ -50,13 +50,14 @@ local servers = {
"gdscript", "gdscript",
"gopls", "gopls",
"hls", "hls",
"html",
"jedi_language_server",
"jsonls", "jsonls",
"kotlin_language_server", "kotlin_language_server",
"lemminx", "lemminx",
"lua_ls", "lua_ls",
"mint", "mint",
"omnisharp", "omnisharp",
"pyright",
"solang", "solang",
"terraformls", "terraformls",
"tsserver", "tsserver",
@ -67,19 +68,6 @@ for _, lsp in ipairs(servers) do
lspconfig[lsp].setup(vim.tbl_extend("force", common_config, configuration_overrides[lsp] or {})) lspconfig[lsp].setup(vim.tbl_extend("force", common_config, configuration_overrides[lsp] or {}))
end end
-- Lua bultin lsp
local nlua_capabilities = vim.deepcopy(common_config.capabilities)
nlua_capabilities.textDocument.formatting = false
nlua_capabilities.textDocument.rangeFormatting = false
require("nlua.lsp.nvim").setup(
lspconfig,
vim.tbl_extend("force", common_config, {
-- Tell LSP which globals should be considered real
globals = {},
capabilities = nlua_capabilities,
})
)
-- Flutter tools -- Flutter tools
require("flutter-tools").setup({ require("flutter-tools").setup({
lsp = common_config, lsp = common_config,