diff options
| -rw-r--r-- | doc/server_configurations.md | 34 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 34 |
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 |
