aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/tilt_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/tilt_ls.lua')
-rw-r--r--lsp/tilt_ls.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lsp/tilt_ls.lua b/lsp/tilt_ls.lua
new file mode 100644
index 00000000..ff67767e
--- /dev/null
+++ b/lsp/tilt_ls.lua
@@ -0,0 +1,16 @@
+---@brief
+---
+---https://github.com/tilt-dev/tilt
+--
+-- Tilt language server.
+--
+-- You might need to add filetype detection manually:
+--
+-- ```vim
+-- autocmd BufRead Tiltfile setf=tiltfile
+-- ```
+return {
+ cmd = { 'tilt', 'lsp', 'start' },
+ filetypes = { 'tiltfile' },
+ root_markers = { '.git' },
+}