From bb10d686fec42224cfc637a9906b0602ced84dfc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 21 May 2025 13:35:32 +0000 Subject: docs: update configs.md skip-checks: true --- doc/configs.md | 32 ++++++++++++++++++++++++++++++++ doc/configs.txt | 24 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/doc/configs.md b/doc/configs.md index faf44a36..8dd22e96 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -232,6 +232,7 @@ Nvim by running `:help lspconfig-all`. - [pylsp](#pylsp) - [pylyzer](#pylyzer) - [pyre](#pyre) +- [pyrefly](#pyrefly) - [pyright](#pyright) - [qmlls](#qmlls) - [quick_lint_js](#quick_lint_js) @@ -8651,6 +8652,37 @@ Default config: --- +## pyrefly + +https://pyrefly.org/ + +`pyrefly`, a faster Python type checker written in Rust. + + `pyrefly` is still in development, so please report any errors to + our issues page at https://github.com/facebook/pyrefly/issues. + +Snippet to enable the language server: +```lua +vim.lsp.enable('pyrefly') +``` + +Default config: +- `cmd` : + ```lua + { "pyrefly", "lsp" } + ``` +- `filetypes` : + ```lua + { "python" } + ``` +- `on_exit`: [../lsp/pyrefly.lua:10](../lsp/pyrefly.lua#L10) +- `root_markers` : + ```lua + { "pyrefly.toml", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" } + ``` + +--- + ## pyright https://github.com/microsoft/pyright diff --git a/doc/configs.txt b/doc/configs.txt index 722a8cd4..15117431 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -6329,6 +6329,30 @@ Default config: { ".pyre_configuration" } < +------------------------------------------------------------------------------ +pyrefly + +https://pyrefly.org/ + +`pyrefly`, a faster Python type checker written in Rust. + + `pyrefly` is still in development, so please report any errors to + our issues page at https://github.com/facebook/pyrefly/issues. + +Snippet to enable the language server: >lua + vim.lsp.enable('pyrefly') + + +Default config: +- cmd: >lua + { "pyrefly", "lsp" } +- filetypes: >lua + { "python" } +- on_exit (use "gF" to view): ../lsp/pyrefly.lua:10 +- root_markers: >lua + { "pyrefly.toml", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" } +< + ------------------------------------------------------------------------------ pyright -- cgit v1.2.3-70-g09d2