Move lsp config to local file structure

This commit is contained in:
Never Gude 2026-01-15 17:18:59 +01:00
parent e5c3bb2492
commit 20801272fc
383 changed files with 11829 additions and 114 deletions

23
.config/nvim/lsp/uvls.lua Normal file
View file

@ -0,0 +1,23 @@
---@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]])
--- ```
---@type vim.lsp.Config
return {
cmd = { 'uvls' },
filetypes = { 'uvl' },
root_markers = { '.git' },
}