From b768848495fb4fe3a6306bcb1e68610a9ff09ebf Mon Sep 17 00:00:00 2001 From: th3r00t Date: Sat, 13 Sep 2025 23:59:59 -0400 Subject: [PATCH] add pyright --- lua/lsp.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/lsp.lua b/lua/lsp.lua index 082028a..a9e2f3c 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -29,6 +29,18 @@ vim.lsp.enable('gopls', { }, }) vim.lsp.enable('nim_langserver') +vim.lsp.enable('pyright', { + settings = { + python = { + analysis = { + typeCheckingMode = "basic", + autoSearchPaths = true, + useLibraryCodeForTypes = true, + diagnosticMode = "workspace", + }, + }, + }, +}) require("lsp_signature").setup({ debug = false, bind = true, -- registers signature handler