aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lsp/shuck.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lsp/shuck.lua b/lsp/shuck.lua
new file mode 100644
index 00000000..df3d5e35
--- /dev/null
+++ b/lsp/shuck.lua
@@ -0,0 +1,17 @@
+---@brief
+---
+--- https://github.com/ewhauser/shuck
+---
+--- `shuck` can be installed via `cargo`:
+--- ```sh
+--- cargo install shuck-cli
+--- ```
+---
+--- A lightning fast shell linter with LSP support for bash, zsh, posix, and mksh dialects.
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'shuck', 'server' },
+ filetypes = { 'bash', 'sh', 'zsh' },
+ root_markers = { '.shuck.toml', '.git' },
+}