aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-05-21 13:35:32 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-05-21 13:35:32 +0000
commitbb10d686fec42224cfc637a9906b0602ced84dfc (patch)
treebf83f790a87dbd240f4c509c243de5583d2e70df /doc
parentfeat: pyrefly #3856 (diff)
downloadnvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar.gz
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar.bz2
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar.lz
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar.xz
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.tar.zst
nvim-lspconfig-bb10d686fec42224cfc637a9906b0602ced84dfc.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md32
-rw-r--r--doc/configs.txt24
2 files changed, 56 insertions, 0 deletions
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
@@ -6330,6 +6330,30 @@ 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 (use "gF" to view): ../lsp/pyrefly.lua:10
+- root_markers: >lua
+ { "pyrefly.toml", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", ".git" }
+<
+
+------------------------------------------------------------------------------
pyright
https://github.com/microsoft/pyright