diff --git a/lua/lsp/basedpyright.lua b/lua/lsp/basedpyright.lua index d0898f9..3be769f 100644 --- a/lua/lsp/basedpyright.lua +++ b/lua/lsp/basedpyright.lua @@ -1,4 +1,15 @@ return { + -- capabilities = require("cmp_nvim_lsp").default_capabilities(), + settings = { + basedpyright = { + analysis = { + autoSearchPaths = true, + diagnosticMode = "openFilesOnly", + useLibraryCodeForTypes = true, + typeCheckingMode = "standard" + }, + }, + }, on_attach = function() G.api.nvim_create_user_command('R', function() G.cmd [[set splitbelow]] diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index 9d18915..957a986 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -51,7 +51,7 @@ return { require("mason-lspconfig").setup({ ensure_installed = { "bashls", - "basedpyright", + -- "basedpyright", "lua_ls", "jsonls", "yamlls",