zoxide
This commit is contained in:
parent
c4415dfa6d
commit
afc808b48f
|
@ -47,6 +47,11 @@ return { -- Autoformat
|
||||||
return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
|
return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
prettier = {
|
||||||
|
condition = function(ctx)
|
||||||
|
return vim.fs.find({ ".prettierrc" }, { path = ctx.filename, upward = true })[1]
|
||||||
|
end,
|
||||||
|
},
|
||||||
-- Example of using shfmt with extra args
|
-- Example of using shfmt with extra args
|
||||||
shfmt = {
|
shfmt = {
|
||||||
extra_args = { "-i", "2", "-ci" },
|
extra_args = { "-i", "2", "-ci" },
|
||||||
|
|
Loading…
Reference in New Issue