summaryrefslogtreecommitdiff
path: root/nvim/lsp/futhark_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/futhark_lsp.lua')
-rwxr-xr-xnvim/lsp/futhark_lsp.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim/lsp/futhark_lsp.lua b/nvim/lsp/futhark_lsp.lua
new file mode 100755
index 0000000..b467ed0
--- /dev/null
+++ b/nvim/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' },
+}