diff options
| author | github-actions <github-actions@github.com> | 2021-11-15 08:42:08 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2021-11-15 08:42:08 +0000 |
| commit | da79c8d40582fa634ce23c8bc38e52737a37a06d (patch) | |
| tree | 007a50e11331832e145b3dfc42dfa0e62705b3ba | |
| parent | feat: add pyre language server. (#1139) (diff) | |
| download | nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar.gz nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar.bz2 nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar.lz nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar.xz nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.tar.zst nvim-lspconfig-da79c8d40582fa634ce23c8bc38e52737a37a06d.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index c943af1c..7bc03bb2 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -77,6 +77,7 @@ that config. - [puppet](#puppet) - [purescriptls](#purescriptls) - [pylsp](#pylsp) +- [pyre](#pyre) - [pyright](#pyright) - [r_language_server](#r_language_server) - [racket_langserver](#racket_langserver) @@ -5015,6 +5016,38 @@ require'lspconfig'.pylsp.setup{} ``` +## pyre + +https://pyre-check.org/ + +`pyre` a static type checker for Python 3. + +`pyre` offers an extremely limited featureset. It currently only supports diagnostics, +which are triggered on save. + +Do not report issues for missing features in `pyre` to `lspconfig`. + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.pyre.setup{} +``` + +**Commands and default values:** +```lua + Commands: + + Default Values: + cmd = { "pyre", "persistent" } + filetypes = { "python" } + root_dir = function(startpath) + return M.search_ancestors(startpath, matcher) + end +``` + + ## pyright https://github.com/microsoft/pyright |
