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

View file

@ -0,0 +1,24 @@
---@brief
---
--- https://github.com/slint-ui/slint
--- `Slint`'s language server
---
--- You can build and install `slint-lsp` binary with `cargo`:
--- ```sh
--- cargo install slint-lsp
--- ```
---
--- Vim does not have built-in syntax for the `slint` filetype at this time.
---
--- This can be added via an autocmd:
---
--- ```lua
--- vim.cmd [[ autocmd BufRead,BufNewFile *.slint set filetype=slint ]]
--- ```
---@type vim.lsp.Config
return {
cmd = { 'slint-lsp' },
filetypes = { 'slint' },
root_markers = { '.git' },
}