nvim disable pyright
目录
警告
本文最后更新于 2025-01-19,文中内容可能已过时。
While using ruff-lsp for Python diagnostics, I find it redundant to have pyright still active for all Python scripts. So I decide to disable it.
This is how I managed to solve it.
nvim-lspconfig
Firstly, we need to explicitly overwrite the config, telling nimv-lspconfig not to provide default for us.
|
|
uninstall pyright
Secondly, we need to uninstall the pyright module if it’s installed, by running following command
|
|
Now, the pyright is totally gone.
支付宝
微信

william