diff --git a/home/config/nvim/plugins/formatter.fnl b/home/config/nvim/plugins/formatter.fnl index 30230a2..9846aae 100644 --- a/home/config/nvim/plugins/formatter.fnl +++ b/home/config/nvim/plugins/formatter.fnl @@ -18,8 +18,8 @@ ext-glob (.. "*." ext)] (if (vim.list_contains treefmt-exts ext-glob) {:command :treefmt - :args [tmp-filename] - :stdin false + :args [:--stdin tmp-filename] + :stdin true :cwd (conform-util.root_file [:flake.nix :flake.lock]) :require_cwd true} (= (vim.fn.executable fallback.command) 1)