aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-06-12 17:37:32 +0000
committergithub-actions <github-actions@github.com>2022-06-12 17:37:32 +0000
commit86f9c29b4091bcc1cccb47e8208c470c4edf2ab1 (patch)
tree5b6fbfe9774d1b89af1fc31f59dad53a62f75303
parentfix(purescript-language-server): root dir for Nix files #1954 (diff)
downloadnvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar.gz
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar.bz2
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar.lz
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar.xz
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.tar.zst
nvim-lspconfig-86f9c29b4091bcc1cccb47e8208c470c4edf2ab1.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md11
-rw-r--r--doc/server_configurations.txt11
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 3f170693..f734078e 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -4264,10 +4264,11 @@ require'lspconfig'.puppet.setup{}
## purescriptls
https://github.com/nwolverson/purescript-language-server
-`purescript-language-server` can be installed via `npm`
-```sh
-npm install -g purescript-language-server
-```
+
+The `purescript-language-server` can be added to your project and `$PATH` via
+
+* JavaScript package manager such as npm, pnpm, Yarn, et al.
+* Nix under the `nodePackages` and `nodePackages_latest` package sets
@@ -4288,7 +4289,7 @@ require'lspconfig'.purescriptls.setup{}
```
- `root_dir` :
```lua
- root_pattern("spago.dhall, 'psc-package.json', bower.json")
+ root_pattern('spago.dhall', 'psc-package.json', 'bower.json', 'flake.nix', 'shell.nix'),
```
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 3f170693..f734078e 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -4264,10 +4264,11 @@ require'lspconfig'.puppet.setup{}
## purescriptls
https://github.com/nwolverson/purescript-language-server
-`purescript-language-server` can be installed via `npm`
-```sh
-npm install -g purescript-language-server
-```
+
+The `purescript-language-server` can be added to your project and `$PATH` via
+
+* JavaScript package manager such as npm, pnpm, Yarn, et al.
+* Nix under the `nodePackages` and `nodePackages_latest` package sets
@@ -4288,7 +4289,7 @@ require'lspconfig'.purescriptls.setup{}
```
- `root_dir` :
```lua
- root_pattern("spago.dhall, 'psc-package.json', bower.json")
+ root_pattern('spago.dhall', 'psc-package.json', 'bower.json', 'flake.nix', 'shell.nix'),
```