This commit is contained in:
Joakim Repomaa
2025-03-03 21:58:44 +02:00
parent a1f5e2acf7
commit a52861aa40

View File

@@ -56,6 +56,18 @@ in
"!rubocop" "!rubocop"
"!solargraph" "!solargraph"
]; ];
formatter.external = {
command = pkgs.writeShellScript "rufo" ''
bundle exec rufo "$@"
if [ $? -eq 1 ]; then
exit 1
fi
'';
arguments = [
"--filename"
"{buffer_path}"
];
};
}; };
Nix = { Nix = {
formatter.external = { formatter.external = {