diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-05-08 05:41:28 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-05-08 05:41:28 +0000 |
| commit | ba34c39459052c4bdc538d093368e5bf725595b8 (patch) | |
| tree | ae1bbdcdd6de61b81f7d825b06d385c9f0692ad2 | |
| parent | feat: add roc-language-server support (#3143) (diff) | |
| download | nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar.gz nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar.bz2 nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar.lz nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar.xz nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.tar.zst nvim-lspconfig-ba34c39459052c4bdc538d093368e5bf725595b8.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 35 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 35 |
2 files changed, 70 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 9532f553..14f0d2d5 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -221,6 +221,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [rls](#rls) - [rnix](#rnix) - [robotframework_ls](#robotframework_ls) +- [roc_ls](#roc_ls) - [rome](#rome) - [rubocop](#rubocop) - [ruby_lsp](#ruby_lsp) @@ -9615,6 +9616,40 @@ require'lspconfig'.robotframework_ls.setup{} ``` +## roc_ls + +https://github.com/roc-lang/roc/tree/main/crates/language_server#roc_language_server + +The built-in language server for the Roc programming language. +[Installation](https://github.com/roc-lang/roc/tree/main/crates/language_server#installing) + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.roc_ls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "roc_language_server" } + ``` + - `filetypes` : + ```lua + { "roc" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `single_file_support` : + ```lua + true + ``` + + ## rome https://rome.tools diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 9532f553..14f0d2d5 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -221,6 +221,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [rls](#rls) - [rnix](#rnix) - [robotframework_ls](#robotframework_ls) +- [roc_ls](#roc_ls) - [rome](#rome) - [rubocop](#rubocop) - [ruby_lsp](#ruby_lsp) @@ -9615,6 +9616,40 @@ require'lspconfig'.robotframework_ls.setup{} ``` +## roc_ls + +https://github.com/roc-lang/roc/tree/main/crates/language_server#roc_language_server + +The built-in language server for the Roc programming language. +[Installation](https://github.com/roc-lang/roc/tree/main/crates/language_server#installing) + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.roc_ls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "roc_language_server" } + ``` + - `filetypes` : + ```lua + { "roc" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `single_file_support` : + ```lua + true + ``` + + ## rome https://rome.tools |
