From 12b3995537f52ba2810a9857e8ca256881febbda Mon Sep 17 00:00:00 2001 From: Jen Stehlik Date: Sun, 28 Apr 2024 20:20:58 +0200 Subject: fix(mix): allow mix formatter to format different filetypes (#389) --- lua/conform/formatters/mix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/conform/formatters/mix.lua') diff --git a/lua/conform/formatters/mix.lua b/lua/conform/formatters/mix.lua index fb21db6..970d0ef 100644 --- a/lua/conform/formatters/mix.lua +++ b/lua/conform/formatters/mix.lua @@ -5,7 +5,7 @@ return { description = "Format Elixir files using the mix format command.", }, command = "mix", - args = { "format", "-" }, + args = { "format", "--stdin-filename", "$FILENAME", "-" }, cwd = require("conform.util").root_file({ ".formatter.exs", "mix.exs", -- cgit v1.2.3-70-g09d2