Created
December 4, 2012 17:28
-
-
Save michaelwclark/4206571 to your computer and use it in GitHub Desktop.
Sets current project to updae default syntax for new files or unknown filetypes.
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
| import sublime, sublime_plugin | |
| class DefaultSyntaxCommand(sublime_plugin.EventListener): | |
| def on_new(self, view): | |
| view.set_syntax_file('Packages/Ruby/Ruby.tmLanguage') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment