From fdf2bc63a64c8e012ea3bc01f2c417fbc819a44f Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 25 Mar 2023 02:35:42 +0100 Subject: [PATCH] Disable Pyright's spurrious type checking --- config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.el b/config.el index 44d502d..6c9c3be 100644 --- a/config.el +++ b/config.el @@ -143,3 +143,6 @@ :after cc-mode :config (add-hook! 'c++-mode-hook (platformio-conditionally-enable))) +;; Disable Pyright's type checking +(after! lsp-pyright + (setq lsp-pyright-use-library-code-for-types nil))