aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/futhark_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/futhark_lsp.lua')
-rw-r--r--.config/nvim/lsp/futhark_lsp.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/lsp/futhark_lsp.lua b/.config/nvim/lsp/futhark_lsp.lua
new file mode 100644
index 0000000..351dda3
--- /dev/null
+++ b/.config/nvim/lsp/futhark_lsp.lua
@@ -0,0 +1,17 @@
+---@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
+--- ```
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'futhark', 'lsp' },
+ filetypes = { 'futhark', 'fut' },
+ root_markers = { '.git' },
+}