mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
17 lines
274 B
Lua
17 lines
274 B
Lua
local M = {}
|
|
|
|
M.setup = function(lsp, capabilities)
|
|
lsp.basedpyright.setup({
|
|
capabilities = capabilities,
|
|
basedpyright = {
|
|
analysis = {
|
|
autoSearchPaths = true,
|
|
diagnosticMode = "openFilesOnly",
|
|
useLibraryCodeForTypes = true,
|
|
},
|
|
},
|
|
})
|
|
end
|
|
|
|
return M
|