welovewordpress / SublimePhpTidy

Plugin for Sublime Text 2 to format PHP code to meet the WordPress Coding Standards using a modified version of phptidy
GNU General Public License v2.0
109 stars 30 forks source link

Allow custom configurations using the built-in settings. #26

Closed morganestes closed 10 years ago

morganestes commented 10 years ago

The script automatically looks for a config file, but inside Sublime Text 2, it wasn't pulling from the right place. This just changes it to look in the same folder as the script (inside the plugin folder).

This should only be used for the non-WP phptidy.php script, because the plugin already handles the custom WordPress stylings.