diff options
-rw-r--r-- | lua/conform/formatters/biome.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/conform/formatters/biome.lua b/lua/conform/formatters/biome.lua index f6d6ae8..3fb0c08 100644 --- a/lua/conform/formatters/biome.lua +++ b/lua/conform/formatters/biome.lua @@ -5,6 +5,10 @@ return { description = "A toolchain for web projects, aimed to provide functionalities to maintain them.", }, command = "biome", - stdin = true, - args = { "format", "--stdin-file-path", "$FILENAME" }, + + -- pending this bug, do not use stdin: https://github.com/biomejs/biome/issues/455 + stdin = false, + args = { "format", "--write", "$FILENAME" }, + -- stdin = true, + -- args = { "format", "--stdin-file-path", "$FILENAME" }, } |