Thom1729 / Sublime-JS-Custom

Customizable JavaScript syntax highlighting for Sublime Text.
MIT License
137 stars 9 forks source link

Fix error when auto-building after removing a configuration. #95

Closed Thom1729 closed 4 years ago

Thom1729 commented 4 years ago

When you modify your preferences, and auto_build is enabled, then JS Custom will call the build_js_custom_syntaxes command with the names of the new/modified/deleted configurations. However, that command will try to rebuild deleted configurations, which will cause an error. This PR fixes that.

Thom1729 commented 4 years ago

As of the last commit, rebuilding/deleting is refactored so that: