vim/lsp: disable pyright type-checking
1 files changed, 9 insertions(+), 2 deletions(-) M .config/nvim/lua/user/lspconfig.lua
M .config/nvim/lua/user/lspconfig.lua => .config/nvim/lua/user/lspconfig.lua +9 -2
@@ 65,8 65,15 @@ if vim.g.enableLSP == 1 then end require'lspconfig'.pyright.setup{ - on_attach = on_attach, - flags = lsp_flags, + on_attach = on_attach, + flags = lsp_flags, + settings = { + ['python'] = { + analysis = { + typeCheckingMode = "off", + }, + }, + } } require'lspconfig'.rust_analyzer.setup{