The lsp-mode client for pyrefly.
- Emacs 28.1 or later
- lsp-mode
Add to your packages.el:
(package! lsp-pyrefly :recipe(:host github :repo "SunskyXH/lsp-pyrefly"))Add to your config.el
(use-package! lsp-pyrefly
:after lsp-mode
:init)(straight-use-package '(lsp-pyrefly :type git :host github :repo "SunskyXH/lsp-pyrefly"))- Clone the repository:
git clone https://github.com/SunskyXH/lsp-pyrefly.git - Add to your Emacs configuration:
(add-to-list 'load-path "/path/to/lsp-pyrefly.el") (require 'lsp-pyrefly)
Customize the following variables:
lsp-pyrefly-parallel-jobs- Number of parallel jobs for the pyrefly language server. (default: 4)