Skip to content

Commit 4e2c910

Browse files
authored
1 parent 328c2f1 commit 4e2c910

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/conform/formatters/oxfmt.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ return {
1313
description = "A Prettier-compatible code formatter.",
1414
},
1515
command = util.from_node_modules("oxfmt"),
16-
args = { "$FILENAME" },
17-
stdin = false,
16+
args = { "--stdin-filepath", "$FILENAME" },
17+
stdin = true,
1818
cwd = require("conform.util").root_file(config_file_names),
1919
}

0 commit comments

Comments
 (0)