mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +02:00
docs: fixed conform examples
This commit is contained in:
parent
4da4583b4a
commit
af3ca06472
1 changed files with 2 additions and 2 deletions
|
@ -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" },
|
||||||
-- },
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue