feat(lang-shell): set default indent in shell scripts to 2 spaces

This commit is contained in:
2023-10-12 12:22:07 +03:00
parent 6cd9aa24e0
commit 2b09f7fceb

View File

@@ -18,7 +18,7 @@ return {
vim.list_extend(opts.sources, {
nls.builtins.code_actions.shellcheck,
-- nls.builtins.diagnostics.shellcheck,
nls.builtins.formatting.shfmt,
nls.builtins.formatting.shfmt.with({ args = { "-filename", "$FILENAME", "-i", "2" } }),
})
end,
},