Disable Pyright's spurrious type checking

This commit is contained in:
coolneng 2023-03-25 02:35:42 +01:00
parent de5d9f5d0d
commit fdf2bc63a6
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

@ -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))