Skip to content

Commit afc808b

Browse files
committed
zoxide
1 parent c4415df commit afc808b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lua/custom/plugins/format.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ return { -- Autoformat
4747
return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
4848
end,
4949
},
50+
prettier = {
51+
condition = function(ctx)
52+
return vim.fs.find({ ".prettierrc" }, { path = ctx.filename, upward = true })[1]
53+
end,
54+
},
5055
-- Example of using shfmt with extra args
5156
shfmt = {
5257
extra_args = { "-i", "2", "-ci" },

t.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)