aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/futhark_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/futhark_lsp.lua')
-rw-r--r--lsp/futhark_lsp.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lsp/futhark_lsp.lua b/lsp/futhark_lsp.lua
new file mode 100644
index 00000000..b794b87c
--- /dev/null
+++ b/lsp/futhark_lsp.lua
@@ -0,0 +1,15 @@
+---@brief
+---
+---https://github.com/diku-dk/futhark
+--
+-- Futhark Language Server
+--
+-- This language server comes with the futhark compiler and is run with the command
+-- ```
+-- futhark lsp
+-- ```
+return {
+ cmd = { 'futhark', 'lsp' },
+ filetypes = { 'futhark', 'fut' },
+ root_markers = { '.git' },
+}