diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2026-06-30 21:52:14 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2026-06-30 21:52:18 +0100 |
| commit | 796e8cd52879f87220e76d71d512f2cc6a79a715 (patch) | |
| tree | 746e3fab13b6322a8ee491d4a7f4f4669a1d1469 | |
| parent | 47834ead372c86e5df0afc6e909aed8b92d8f30c (diff) | |
Fix issue with bash formatting treat scripts as sh instead of bash
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/conform.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/plugins/conform.lua b/nvim/.config/nvim/lua/plugins/conform.lua index 365fb2d..94bdb06 100644 --- a/nvim/.config/nvim/lua/plugins/conform.lua +++ b/nvim/.config/nvim/lua/plugins/conform.lua @@ -22,5 +22,9 @@ require("conform").setup({ command = "biome", args = { "format", "--stdin-file-path", "$FILENAME" }, }, + -- Force shfmt to always use the bash parser variant. + shfmt = { + prepend_args = { "-ln", "bash" }, + }, }, }) |
