aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-03-06 21:36:46 +0000
committergithub-actions <github-actions@github.com>2022-03-06 21:36:46 +0000
commitb01782a673f52f68762b2f910e97a186c16af01c (patch)
tree37a7fcc2504b95ec20fbbe22c2905ae2dea40cbf
parentfeat: add reason-language-server (#1721) (diff)
downloadnvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar.gz
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar.bz2
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar.lz
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar.xz
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.tar.zst
nvim-lspconfig-b01782a673f52f68762b2f910e97a186c16af01c.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md34
-rw-r--r--doc/server_configurations.txt34
2 files changed, 68 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 26f7e8d7..c61ffc8e 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -98,6 +98,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [quick_lint_js](#quick_lint_js)
- [r_language_server](#r_language_server)
- [racket_langserver](#racket_langserver)
+- [reason_ls](#reason_ls)
- [remark_ls](#remark_ls)
- [rescriptls](#rescriptls)
- [rls](#rls)
@@ -3576,6 +3577,39 @@ require'lspconfig'.racket_langserver.setup{}
```
+## reason_ls
+
+Reason language server
+
+**By default, reason_ls 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.
+
+You can install reason language server from [reason-language-server](https://github.com/jaredly/reason-language-server) repository.
+
+```lua
+cmd = {'<path_to_reason_language_server>'}
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.reason_ls.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "reason-language-server" }
+ filetypes = { "reason" }
+ root_dir = function(startpath)
+ return M.search_ancestors(startpath, matcher)
+ end
+```
+
+
## remark_ls
https://github.com/remarkjs/remark-language-server
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 26f7e8d7..c61ffc8e 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -98,6 +98,7 @@ that config. This file is accessible in neovim via `:help lspconfig-server-confi
- [quick_lint_js](#quick_lint_js)
- [r_language_server](#r_language_server)
- [racket_langserver](#racket_langserver)
+- [reason_ls](#reason_ls)
- [remark_ls](#remark_ls)
- [rescriptls](#rescriptls)
- [rls](#rls)
@@ -3576,6 +3577,39 @@ require'lspconfig'.racket_langserver.setup{}
```
+## reason_ls
+
+Reason language server
+
+**By default, reason_ls 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.
+
+You can install reason language server from [reason-language-server](https://github.com/jaredly/reason-language-server) repository.
+
+```lua
+cmd = {'<path_to_reason_language_server>'}
+```
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.reason_ls.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "reason-language-server" }
+ filetypes = { "reason" }
+ root_dir = function(startpath)
+ return M.search_ancestors(startpath, matcher)
+ end
+```
+
+
## remark_ls
https://github.com/remarkjs/remark-language-server