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