From 2b9fb570e44949616ffbef6876828344ac078bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pacana?= Date: Thu, 25 Jun 2026 12:18:18 +0200 Subject: [PATCH] Run stree via bin/stree in treefmt - Point the treefmt ruby formatter at the bin/stree binstub instead of a bare `stree`, so formatting always uses the Bundler-pinned syntax_tree gem rather than whatever stree happens to be on PATH. - Resolves relative to the project root, which treefmt uses as its working directory, so the dev:format task, the Claude format hook, and the .pi edit hook all pick it up. --- devenv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devenv.nix b/devenv.nix index 5adeee9..7c382d2 100644 --- a/devenv.nix +++ b/devenv.nix @@ -170,7 +170,7 @@ }; settings.formatter = { ruby = { - command = "stree"; + command = "bin/stree"; options = [ "write" ]; includes = [ "*.rb" ]; }; -- 2.51.2