summaryrefslogtreecommitdiff
path: root/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'lsp')
-rw-r--r--lsp/bash.lua5
-rw-r--r--lsp/crystal.lua6
-rw-r--r--lsp/vala.lua5
3 files changed, 16 insertions, 0 deletions
diff --git a/lsp/bash.lua b/lsp/bash.lua
new file mode 100644
index 0000000..113bf45
--- /dev/null
+++ b/lsp/bash.lua
@@ -0,0 +1,5 @@
+return {
+ cmd = { "bash-language-server", "start" },
+ filetypes = { "sh" },
+ single_file_support = true,
+}
diff --git a/lsp/crystal.lua b/lsp/crystal.lua
new file mode 100644
index 0000000..95b6dd9
--- /dev/null
+++ b/lsp/crystal.lua
@@ -0,0 +1,6 @@
+return {
+ cmd = { "crystalline", "--stdio" },
+ filetypes = { "crystal" },
+ root_markers = { "shard.yml", ".git" },
+ single_file_support = true,
+}
diff --git a/lsp/vala.lua b/lsp/vala.lua
new file mode 100644
index 0000000..998c59a
--- /dev/null
+++ b/lsp/vala.lua
@@ -0,0 +1,5 @@
+return {
+ cmd = { "vala-language-server" },
+ filetypes = { "vala", "genie" },
+ single_file_support = true,
+}