diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-10-04 06:39:10 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-10-04 06:39:10 +0000 |
| commit | 62456f4c08046a840f5e0b1508df37c45501a885 (patch) | |
| tree | 7f3e9833d918663d47eaf6c23989d81adaacff5e | |
| parent | feat: add ungrammar-languageserver support (#3312) (diff) | |
| download | nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar.gz nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar.bz2 nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar.lz nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar.xz nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.tar.zst nvim-lspconfig-62456f4c08046a840f5e0b1508df37c45501a885.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 51 | ||||
| -rw-r--r-- | doc/configs.txt | 51 |
2 files changed, 102 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index c23e640b..5a8ef3e7 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -310,6 +310,7 @@ Nvim by running `:help lspconfig-all`. - [typos_lsp](#typos_lsp) - [typst_lsp](#typst_lsp) - [uiua](#uiua) +- [ungrammar_languageserver](#ungrammar_languageserver) - [unison](#unison) - [unocss](#unocss) - [uvls](#uvls) @@ -13022,6 +13023,56 @@ require'lspconfig'.uiua.setup{} ``` +## ungrammar_languageserver + +https://github.com/binhtran432k/ungrammar-language-features +Language Server for Ungrammar. + +Ungrammar Language Server can be installed via npm: +```sh +npm i ungrammar-languageserver -g +``` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.ungrammar_languageserver.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "ungrammar-languageserver", "--stdio" } + ``` + - `filetypes` : + ```lua + { "ungrammar" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `settings` : + ```lua + { + ungrammar = { + format = { + enable = true + }, + validate = { + enable = true + } + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## unison https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown diff --git a/doc/configs.txt b/doc/configs.txt index c23e640b..5a8ef3e7 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -310,6 +310,7 @@ Nvim by running `:help lspconfig-all`. - [typos_lsp](#typos_lsp) - [typst_lsp](#typst_lsp) - [uiua](#uiua) +- [ungrammar_languageserver](#ungrammar_languageserver) - [unison](#unison) - [unocss](#unocss) - [uvls](#uvls) @@ -13022,6 +13023,56 @@ require'lspconfig'.uiua.setup{} ``` +## ungrammar_languageserver + +https://github.com/binhtran432k/ungrammar-language-features +Language Server for Ungrammar. + +Ungrammar Language Server can be installed via npm: +```sh +npm i ungrammar-languageserver -g +``` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.ungrammar_languageserver.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "ungrammar-languageserver", "--stdio" } + ``` + - `filetypes` : + ```lua + { "ungrammar" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `settings` : + ```lua + { + ungrammar = { + format = { + enable = true + }, + validate = { + enable = true + } + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## unison https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown |
