Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
18
.config/nvim/lsp/tilt_ls.lua
Normal file
18
.config/nvim/lsp/tilt_ls.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/tilt-dev/tilt
|
||||
---
|
||||
--- Tilt language server.
|
||||
---
|
||||
--- You might need to add filetype detection manually:
|
||||
---
|
||||
--- ```vim
|
||||
--- autocmd BufRead Tiltfile setf=tiltfile
|
||||
--- ```
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'tilt', 'lsp', 'start' },
|
||||
filetypes = { 'tiltfile' },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue