diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-04-26 16:49:13 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-04-26 16:49:13 +0000 |
| commit | a698a0aab064fd7e09a8ec264a6723875db870f0 (patch) | |
| tree | 559808f6ace6191de6260fa67da65954d406d45d /doc | |
| parent | fix(pylyzer): erg dependency #3770 (diff) | |
| download | nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar.gz nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar.bz2 nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar.lz nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar.xz nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.tar.zst nvim-lspconfig-a698a0aab064fd7e09a8ec264a6723875db870f0.zip | |
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 11 | ||||
| -rw-r--r-- | doc/configs.txt | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index c7afcd9f..fd6e631b 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -8324,6 +8324,11 @@ https://github.com/mtshiba/pylyzer `pylyzer`, a fast static code analyzer & language server for Python. +`pylyzer` requires Erg as dependency, and finds it via `ERG_PATH` environment variable. +This config sets `ERG_PATH="~/.erg"`. Set `cmd_env` if you want to change it. +To install Erg, simply extract tarball/zip from [Erg releases](https://github.com/erg-lang/erg/releases/latest) +to the the path where you want to install it, e.g. `~/.erg`. + Snippet to enable the language server: ```lua vim.lsp.enable('pylyzer') @@ -8334,6 +8339,12 @@ Default config: ```lua { "pylyzer", "--server" } ``` +- `cmd_env` : + ```lua + { + ERG_PATH = "/home/runner/.erg" + } + ``` - `filetypes` : ```lua { "python" } diff --git a/doc/configs.txt b/doc/configs.txt index dc07983a..5130fe33 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -7763,6 +7763,11 @@ https://github.com/mtshiba/pylyzer `pylyzer`, a fast static code analyzer & language server for Python. +`pylyzer` requires Erg as dependency, and finds it via `ERG_PATH` environment variable. +This config sets `ERG_PATH="~/.erg"`. Set `cmd_env` if you want to change it. +To install Erg, simply extract tarball/zip from [Erg releases](https://github.com/erg-lang/erg/releases/latest) +to the the path where you want to install it, e.g. `~/.erg`. + Snippet to enable the language server: >lua vim.lsp.enable('pylyzer') @@ -7772,6 +7777,12 @@ Default config: ```lua { "pylyzer", "--server" } ``` +- `cmd_env` : + ```lua + { + ERG_PATH = "/home/runner/.erg" + } + ``` - `filetypes` : ```lua { "python" } |
