diff --git a/README.md b/README.md index 3395c55..2425de6 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ formatters installed here are used via `conform.nvim`. | Linter | YAML | **yamllint** | | yamllint vs. ansible-lint | | Formatter | Markdown, YAML | **prettier** | Markdown table formatting! | n/a | | Formatter | Lua | **stylua** | Formats Lua | n/a | +| Formatter | Bash | **shfmt** | Formats Bash scripts | n/a | ## Key bindings diff --git a/lua/weeheavy/plugins/lsp/conform.lua b/lua/weeheavy/plugins/lsp/conform.lua index 565b81e..810be46 100644 --- a/lua/weeheavy/plugins/lsp/conform.lua +++ b/lua/weeheavy/plugins/lsp/conform.lua @@ -20,6 +20,7 @@ return { graphql = { "prettier" }, lua = { "stylua" }, python = { "isort", "black" }, + sh = { "shfmt" }, }, format_on_save = { lsp_fallback = true,