From ddd9176e4608e1e34f0befe1315adae515672c2e Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 15 Jan 2026 09:24:17 +0100 Subject: neovim: benutze 'basedpyright' statt 'pyright' --- nvim/lua/plugins/lsp.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nvim/lua') diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 825ffb6..9896430 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -56,11 +56,15 @@ return { }, } - vim.lsp.config.pyright = { + vim.lsp.config.basedpyright = { capabilities = capabilities, settings = { - python = { + basedpyright = { analysis = { + diagnosticMode = "openFilesOnly", + inlayHints = { + callArgumentNames = true, + }, typeCheckingMode = "basic", -- oder "strict" für strenger autoSearchPaths = true, useLibraryCodeForTypes = true, @@ -74,7 +78,7 @@ return { "clangd", -- pkg install llvm "lua_ls", -- pkg install lua-language-server "ts_ls", -- npm install -g typescript typescript-language-server - "pyright", -- npm install -g pyright, brew install pyright + "basedpyright", -- npm install -g basedpyright, brew install basedpyright }) end, }, -- cgit v1.3