diff --git a/lua/plugins/formatting.lua b/lua/plugins/formatting.lua new file mode 100644 index 0000000..0e2b061 --- /dev/null +++ b/lua/plugins/formatting.lua @@ -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" } }, + }, + }, +}