format bash scripts with shfmt
This commit is contained in:
parent
8072531a1e
commit
d883ab4aaa
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ return {
|
|||
graphql = { "prettier" },
|
||||
lua = { "stylua" },
|
||||
python = { "isort", "black" },
|
||||
sh = { "shfmt" },
|
||||
},
|
||||
format_on_save = {
|
||||
lsp_fallback = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue