aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/uvls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/uvls.lua')
-rw-r--r--lsp/uvls.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/lsp/uvls.lua b/lsp/uvls.lua
new file mode 100644
index 00000000..6749d0f1
--- /dev/null
+++ b/lsp/uvls.lua
@@ -0,0 +1,20 @@
+---@brief
+---
+---https://codeberg.org/caradhras/uvls
+-- Language server for UVL, written using tree sitter and rust.
+-- You can install the server easily using cargo:
+-- ```sh
+-- git clone https://codeberg.org/caradhras/uvls
+-- cd uvls
+-- cargo install --path .
+-- ```
+-- Note: To activate properly nvim needs to know the uvl filetype.
+-- You can add it via:
+-- ```lua
+-- vim.cmd([[au BufRead,BufNewFile *.uvl setfiletype uvl]])
+-- ```
+return {
+ cmd = { 'uvls' },
+ filetypes = { 'uvl' },
+ root_markers = { '.git' },
+}