LazyVim/lua/plugins/formatting.lua

10 lines
227 B
Lua
Raw Normal View History

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" } },
},
},
}