From 796e8cd52879f87220e76d71d512f2cc6a79a715 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 30 Jun 2026 21:52:14 +0100 Subject: Fix issue with bash formatting treat scripts as sh instead of bash --- nvim/.config/nvim/lua/plugins/conform.lua | 4 ++++ 1 file changed, 4 insertions(+) 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" }, + }, }, }) -- cgit v1.2.3-13-gbd6f