aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-01-15 09:24:17 +0100
committerThomas Schmucker <ts@its1.de>2026-01-15 09:24:17 +0100
commitddd9176e4608e1e34f0befe1315adae515672c2e (patch)
tree7d7e553eeded92dce865d4575d006b2bec092772
parent2fe1e0e5209edc66e896077fd4d368ec43e5911b (diff)
downloaddotfiles-ddd9176e4608e1e34f0befe1315adae515672c2e.tar.gz
dotfiles-ddd9176e4608e1e34f0befe1315adae515672c2e.tar.bz2
dotfiles-ddd9176e4608e1e34f0befe1315adae515672c2e.zip
neovim: benutze 'basedpyright' statt 'pyright'
-rw-r--r--nvim/lua/plugins/lsp.lua10
1 files changed, 7 insertions, 3 deletions
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 {
56 }, 56 },
57 } 57 }
58 58
59 vim.lsp.config.pyright = { 59 vim.lsp.config.basedpyright = {
60 capabilities = capabilities, 60 capabilities = capabilities,
61 settings = { 61 settings = {
62 python = { 62 basedpyright = {
63 analysis = { 63 analysis = {
64 diagnosticMode = "openFilesOnly",
65 inlayHints = {
66 callArgumentNames = true,
67 },
64 typeCheckingMode = "basic", -- oder "strict" für strenger 68 typeCheckingMode = "basic", -- oder "strict" für strenger
65 autoSearchPaths = true, 69 autoSearchPaths = true,
66 useLibraryCodeForTypes = true, 70 useLibraryCodeForTypes = true,
@@ -74,7 +78,7 @@ return {
74 "clangd", -- pkg install llvm 78 "clangd", -- pkg install llvm
75 "lua_ls", -- pkg install lua-language-server 79 "lua_ls", -- pkg install lua-language-server
76 "ts_ls", -- npm install -g typescript typescript-language-server 80 "ts_ls", -- npm install -g typescript typescript-language-server
77 "pyright", -- npm install -g pyright, brew install pyright 81 "basedpyright", -- npm install -g basedpyright, brew install basedpyright
78 }) 82 })
79 end, 83 end,
80 }, 84 },