~enan/dotfiles

aaf268171da28658bda67b6d702ccecad90c9a3d — Enan Ajmain 1 year, 9 months ago 84675e6
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{