feat(formatting): shfmt: use 2-char indents

This commit is contained in:
Michel 2023-10-26 17:41:47 +02:00
parent 298a253453
commit 71af65996a
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
return {
"stevearc/conform.nvim",
opts = {
formatters = {
-- https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd#printer-flags
shfmt = { prepend_args = { "-i", "2", "-ci", "-bn" } },
},
},
}