Compare commits

...

2 Commits

Author SHA1 Message Date
90fb7736cf
Turn down basedpyright strictness 2025-06-03 21:57:55 +02:00
0458cb0825
Only enable rust_analyer if it is installed 2025-06-03 21:56:19 +02:00
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,9 @@
return {
settings = {
basedpyright = {
analysis = {
typeCheckingMode = "standard",
},
},
},
}

View File

@ -148,5 +148,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
end,
})
-- Manually enable rust analyzer
vim.lsp.enable("rust_analyzer")
-- Manually enable rust analyzer, if installed
if vim.fn.executable("rust_analyzer") then
vim.lsp.enable("rust_analyzer")
end