Disable Pyright's spurrious type checking
This commit is contained in:
parent
de5d9f5d0d
commit
fdf2bc63a6
|
@ -143,3 +143,6 @@
|
||||||
:after cc-mode
|
:after cc-mode
|
||||||
:config
|
:config
|
||||||
(add-hook! 'c++-mode-hook (platformio-conditionally-enable)))
|
(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))
|
||||||
|
|
Loading…
Reference in New Issue