diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-10 02:15:14 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-10 02:15:14 +0000 |
| commit | bd405e45c5fb122c16af8f87fa2dd7ab1981b243 (patch) | |
| tree | 30bfefd3814a64153c5132103991941bbf5eec79 /doc | |
| parent | feat: add cds-lsp (#2926) (diff) | |
| download | nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar.gz nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar.bz2 nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar.lz nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar.xz nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.tar.zst nvim-lspconfig-bd405e45c5fb122c16af8f87fa2dd7ab1981b243.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
| -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) |
