aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Harker <george@georgeharker.com>2026-05-18 15:21:40 -0700
committerGitHub <noreply@github.com>2026-05-18 18:21:40 -0400
commit5a66e8478cd93f3bd82bfd3903b25e8f07565b0e (patch)
treedaa7e7ca3e8cf58dc4699b7190b3d3b34374b609
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar.gz
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar.bz2
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar.lz
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar.xz
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.tar.zst
nvim-lspconfig-5a66e8478cd93f3bd82bfd3903b25e8f07565b0e.zip
feat: shuck language server #4417
shuck is a lightning fast shell linter and language server written in Rust. It supports bash, zsh, posix, and mksh dialects. https://github.com/ewhauser/shuck
-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' },
+}