diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 51e8d311c6..f062ae3bdf 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -240,6 +240,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [turtle_ls](#turtle_ls) - [typeprof](#typeprof) - [typst_lsp](#typst_lsp) +- [uiua](#uiua) - [unison](#unison) - [unocss](#unocss) - [uvls](#uvls) @@ -10396,6 +10397,42 @@ require'lspconfig'.typst_lsp.setup{} ``` +## uiua + +https://github.com/uiua-lang/uiua/ + +The builtin language server of the Uiua interpreter. + +The Uiua interpreter can be installed with `cargo install uiua` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.uiua.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "uiua", "lsp" } + ``` + - `filetypes` : + ```lua + { "uiua" } + ``` + - `root_dir` : + ```lua + root_pattern( + 'main.ua', + 'fmt.ua', + '.git' + ) + + ``` + + ## unison https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 51e8d311c6..f062ae3bdf 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -240,6 +240,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [turtle_ls](#turtle_ls) - [typeprof](#typeprof) - [typst_lsp](#typst_lsp) +- [uiua](#uiua) - [unison](#unison) - [unocss](#unocss) - [uvls](#uvls) @@ -10396,6 +10397,42 @@ require'lspconfig'.typst_lsp.setup{} ``` +## uiua + +https://github.com/uiua-lang/uiua/ + +The builtin language server of the Uiua interpreter. + +The Uiua interpreter can be installed with `cargo install uiua` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.uiua.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "uiua", "lsp" } + ``` + - `filetypes` : + ```lua + { "uiua" } + ``` + - `root_dir` : + ```lua + root_pattern( + 'main.ua', + 'fmt.ua', + '.git' + ) + + ``` + + ## unison https://github.com/unisonweb/unison/blob/trunk/docs/language-server.markdown