summaryrefslogtreecommitdiff
path: root/nvim/lsp/futhark_lsp.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
commitb7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch)
tree366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/futhark_lsp.lua
Nixos
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' },
+}