aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/biome.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/biome.lua')
-rw-r--r--lua/conform/formatters/biome.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/conform/formatters/biome.lua b/lua/conform/formatters/biome.lua
index f6d6ae8..495c284 100644
--- a/lua/conform/formatters/biome.lua
+++ b/lua/conform/formatters/biome.lua
@@ -1,10 +1,11 @@
+local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/biomejs/biome",
description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
},
- command = "biome",
+ command = util.from_node_modules("biome"),
stdin = true,
args = { "format", "--stdin-file-path", "$FILENAME" },
}