diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-04-14 06:11:01 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-04-14 06:11:01 +0000 |
| commit | 0351909f2b571f1645b347aedddc45c74b7ff062 (patch) | |
| tree | 653eab475a3fbeefb6b791a7de0a09954bd852ee | |
| parent | fix(perlnavigator): Add cmd and installation instructions for perl navigator ... (diff) | |
| download | nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar.gz nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar.bz2 nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar.lz nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar.xz nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.tar.zst nvim-lspconfig-0351909f2b571f1645b347aedddc45c74b7ff062.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 14 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 14 |
2 files changed, 8 insertions, 20 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 8ef02dfa..f1072c25 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -8048,16 +8048,10 @@ require'lspconfig'.perlls.setup{} https://github.com/bscan/PerlNavigator -A Perl language server +A Perl language server. It can be installed via npm: -**By default, perlnavigator doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. -You have to install the language server manually. - -Clone the PerlNavigator repo, install based on the [instructions](https://github.com/bscan/PerlNavigator#installation-for-other-editors), -and point `cmd` to `server.js` inside the `server/out` directory: - -```lua -cmd = {'node', '<path_to_repo>/server/out/server.js', '--stdio'} +```sh +npm i -g perlnavigator-server ``` At minimum, you will need `perl` in your path. If you want to use a non-standard `perl` you will need to set your configuration like so: @@ -8083,7 +8077,7 @@ require'lspconfig'.perlnavigator.setup{} **Default values:** - `cmd` : ```lua - {} + { "perlnavigator" } ``` - `filetypes` : ```lua diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 8ef02dfa..f1072c25 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -8048,16 +8048,10 @@ require'lspconfig'.perlls.setup{} https://github.com/bscan/PerlNavigator -A Perl language server +A Perl language server. It can be installed via npm: -**By default, perlnavigator doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. -You have to install the language server manually. - -Clone the PerlNavigator repo, install based on the [instructions](https://github.com/bscan/PerlNavigator#installation-for-other-editors), -and point `cmd` to `server.js` inside the `server/out` directory: - -```lua -cmd = {'node', '<path_to_repo>/server/out/server.js', '--stdio'} +```sh +npm i -g perlnavigator-server ``` At minimum, you will need `perl` in your path. If you want to use a non-standard `perl` you will need to set your configuration like so: @@ -8083,7 +8077,7 @@ require'lspconfig'.perlnavigator.setup{} **Default values:** - `cmd` : ```lua - {} + { "perlnavigator" } ``` - `filetypes` : ```lua |
