From a6c8bec8ea2364ad54087fec0779de97baab179b Mon Sep 17 00:00:00 2001 From: Marcelo Date: Mon, 31 Mar 2025 22:47:54 -0300 Subject: Add Bash, Crystal, and Vala language server config. --- lsp/bash.lua | 5 +++++ lsp/crystal.lua | 6 ++++++ lsp/vala.lua | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 lsp/bash.lua create mode 100644 lsp/crystal.lua create mode 100644 lsp/vala.lua (limited to 'lsp') 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, +} -- cgit v1.2.3