feat(formatting): shfmt: use 2-char indents
This commit is contained in:
parent
298a253453
commit
71af65996a
9
lua/plugins/formatting.lua
Normal file
9
lua/plugins/formatting.lua
Normal 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" } },
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user