From 172aa3f6f0bd3cbc1c50041e890290cb18a45cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Mu=C3=B1oz=20Paredes?= Date: Fri, 17 May 2024 09:47:21 +0200 Subject: [PATCH] Disable type checking for pyright and install mypy for type checking --- init.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 834f4d18..c4f439d9 100644 --- a/init.lua +++ b/init.lua @@ -558,8 +558,17 @@ require('lazy').setup({ local servers = { -- clangd = {}, -- gopls = {}, - pyright = {}, + pyright = { + settings = { + python = { + analysis = { + typeCheckingMode = "off" + } + } + } + }, ruff = {}, + mypy = {}, taplo = {}, -- LSP for toml files debugpy = {}, -- rust_analyzer = {},