Last active
July 18, 2025 20:44
-
-
Save gabrielbidula/4b8f84a02dafd242b0e1cf1d682fcaac to your computer and use it in GitHub Desktop.
fake laravel pint formatter mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if an argument was provided | |
if [ $# -eq 0 ]; then | |
echo "No file path provided." | |
exit 1 | |
fi | |
# Use the provided argument (file path) | |
file="$1" | |
# Ensure the file exists | |
if [ ! -f "$file" ]; then | |
echo "File does not exist: $file" | |
exit 1 | |
fi | |
# Run pint on the provided file without outputting any progress or errors | |
/path/to/pint --quiet "$file" | |
# Output the content of the file | |
cat "$file" |
Maybe you should take a look at this.
That forces you to use PHPactor which is extremely slow in Zed. I can't do anything without it saying "resolving code actions" after I save. -- zed-industries/zed#20249
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe you should take a look at this.