fix rufo
This commit is contained in:
@@ -56,6 +56,18 @@ in
|
||||
"!rubocop"
|
||||
"!solargraph"
|
||||
];
|
||||
formatter.external = {
|
||||
command = pkgs.writeShellScript "rufo" ''
|
||||
bundle exec rufo "$@"
|
||||
if [ $? -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
arguments = [
|
||||
"--filename"
|
||||
"{buffer_path}"
|
||||
];
|
||||
};
|
||||
};
|
||||
Nix = {
|
||||
formatter.external = {
|
||||
|
||||
Reference in New Issue
Block a user