- Code: Select all
"new_file_syntax": "name of syntax"
to Packages/User/DetectSyntax.sublime-settings and all new files will start with that syntax assigned. Keep in mind that once you save the file, any other rules in DetectSyntax will kick in and the syntax could change. The new_file_syntax applies only in the on_new event listener.