diff options
| -rw-r--r-- | doc/server_configurations.md | 48 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 48 |
2 files changed, 96 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 314ac0b1..7383d78a 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -32,6 +32,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [cadence](#cadence) - [cairo_ls](#cairo_ls) - [ccls](#ccls) +- [cds_lsp](#cds_lsp) - [circom-lsp](#circom-lsp) - [clangd](#clangd) - [clarity_lsp](#clarity_lsp) @@ -1592,6 +1593,53 @@ require'lspconfig'.ccls.setup{} ``` +## cds_lsp + + +https://cap.cloud.sap/docs/ + +`cds-lsp` can be installed via `npm`: + +```sh +npm i -g @sap/cds-lsp +``` + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.cds_lsp.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "cds-lsp", "--stdio" } + ``` + - `filetypes` : + ```lua + { "cds" } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `settings` : + ```lua + { + cds = { + validate = true + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## circom-lsp [Circom Language Server](https://github.com/rubydusa/circom-lsp) diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 314ac0b1..7383d78a 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -32,6 +32,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [cadence](#cadence) - [cairo_ls](#cairo_ls) - [ccls](#ccls) +- [cds_lsp](#cds_lsp) - [circom-lsp](#circom-lsp) - [clangd](#clangd) - [clarity_lsp](#clarity_lsp) @@ -1592,6 +1593,53 @@ require'lspconfig'.ccls.setup{} ``` +## cds_lsp + + +https://cap.cloud.sap/docs/ + +`cds-lsp` can be installed via `npm`: + +```sh +npm i -g @sap/cds-lsp +``` + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.cds_lsp.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "cds-lsp", "--stdio" } + ``` + - `filetypes` : + ```lua + { "cds" } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `settings` : + ```lua + { + cds = { + validate = true + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## circom-lsp [Circom Language Server](https://github.com/rubydusa/circom-lsp) |
