docs: fixed conform examples
This commit is contained in:
@ -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" },
|
||||||
-- },
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user