docs: fixed conform examples

This commit is contained in:
Folke Lemaitre
2023-10-17 08:42:17 +02:00
parent 4da4583b4a
commit af3ca06472

View File

@ -96,7 +96,7 @@ return {
fish = { "fish_indent" }, fish = { "fish_indent" },
sh = { "shfmt" }, sh = { "shfmt" },
}, },
-- LazyVim will merge the options you set here with builtin formatters. -- The options you set here will be merged with the builtin formatters.
-- You can also define any custom formatters here. -- You can also define any custom formatters here.
---@type table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride> ---@type table<string, conform.FormatterConfigOverride|fun(bufnr: integer): nil|conform.FormatterConfigOverride>
formatters = { formatters = {
@ -110,7 +110,7 @@ return {
-- --
-- # Example of using shfmt with extra args -- # Example of using shfmt with extra args
-- shfmt = { -- shfmt = {
-- extra_args = { "-i", "2", "-ci" }, -- prepend_args = { "-i", "2", "-ci" },
-- }, -- },
}, },
} }