From 8b15a1a597a59f4f5306fad9adfe99454feab743 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Dec 2024 02:27:12 +0000 Subject: [PATCH] docs: update configs.md skip-checks: true --- doc/configs.md | 25 +++++++++++++++++++++++++ doc/configs.txt | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/doc/configs.md b/doc/configs.md index 57a048f7e8..dbfe96e3a1 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -62,6 +62,7 @@ Nvim by running `:help lspconfig-all`. - [cssls](#cssls) - [cssmodules_ls](#cssmodules_ls) - [cucumber_language_server](#cucumber_language_server) +- [cue](#cue) - [custom_elements_ls](#custom_elements_ls) - [cypher_ls](#cypher_ls) - [daedalus_ls](#daedalus_ls) @@ -2268,6 +2269,30 @@ Default config: - `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/cucumber_language_server.lua:2](../lua/lspconfig/configs/cucumber_language_server.lua#L2) +## cue + +https://github.com/cue-lang/cue + +CUE makes it easy to validate data, write schemas, and ensure configurations align with policies. + +Snippet to enable the language server: +```lua +require'lspconfig'.cue.setup{} +``` + +Default config: +- `cmd` : + ```lua + { "cue", "lsp" } + ``` +- `filetypes` : + ```lua + { "cue" } + ``` +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/cue.lua:4](../lua/lspconfig/configs/cue.lua#L4) +- `single_file_support` : `true` + + ## custom_elements_ls https://github.com/Matsuuu/custom-elements-language-server diff --git a/doc/configs.txt b/doc/configs.txt index 57a048f7e8..dbfe96e3a1 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -62,6 +62,7 @@ Nvim by running `:help lspconfig-all`. - [cssls](#cssls) - [cssmodules_ls](#cssmodules_ls) - [cucumber_language_server](#cucumber_language_server) +- [cue](#cue) - [custom_elements_ls](#custom_elements_ls) - [cypher_ls](#cypher_ls) - [daedalus_ls](#daedalus_ls) @@ -2268,6 +2269,30 @@ Default config: - `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/cucumber_language_server.lua:2](../lua/lspconfig/configs/cucumber_language_server.lua#L2) +## cue + +https://github.com/cue-lang/cue + +CUE makes it easy to validate data, write schemas, and ensure configurations align with policies. + +Snippet to enable the language server: +```lua +require'lspconfig'.cue.setup{} +``` + +Default config: +- `cmd` : + ```lua + { "cue", "lsp" } + ``` +- `filetypes` : + ```lua + { "cue" } + ``` +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/cue.lua:4](../lua/lspconfig/configs/cue.lua#L4) +- `single_file_support` : `true` + + ## custom_elements_ls https://github.com/Matsuuu/custom-elements-language-server