chore(lsp): update pyright settings

This commit is contained in:
Juliano Barbosa 2024-08-23 07:12:36 -03:00
parent 67a4497ae7
commit 95397b6cbc
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D
1 changed files with 20 additions and 1 deletions

View File

@ -598,7 +598,26 @@ require('lazy').setup({
local servers = {
-- clangd = {},
-- gopls = {},
pyright = {},
pyright = {
capabilities = {
textDocument = {
completion = {
completionItem = {
-- You can set the snippet support to true or false if you want to enable snippets
snippetSupport = true,
},
},
},
},
settings = {
python = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
},
rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--