57
GitHub - emacs-lsp/lsp-pyright: lsp-mode pyright
source link: https://github.com/emacs-lsp/lsp-pyright
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
lsp-pyright
lsp-mode client leveraging Pyright language server
Quickstart
(use-package lsp-pyright :ensure t :hook (python-mode . (lambda () (require 'lsp-pyright) (lsp)))) ; or lsp-deferred
Configuration
lsp-pyright
supports the following configuration. Each configuration is descirbed in detail in Pyright Settings.
pyright.disableLanguageServices
vialsp-pyright-disable-language-services
pyright.disableOrganizeImports
vialsp-pyright-disable-organize-imports
python.analysis.useLibraryCodeForTypes
vialsp-pyright-use-library-code-for-types
python.analysis.diagnosticMode
vialsp-pyright-diagnostic-mode
python.analysis.typeCheckingMode
vialsp-pyright-typechecking-mode
python.analysis.logLevel
vialsp-pyright-log-level
python.analysis.autoSearchPaths
vialsp-pyright-auto-search-paths
Projects can be further configured using prightconfig.json
file. For further details please see Pyright Configuration.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK