Defaulting to Corona Editor

Just discovered a cool little Sublime plugin: Project Specific Syntax Settings. It solves simple problem that I have: each time I open a Lua file, Sublime sets the syntax to it’s default Lua setting rather than Corona Editor and I have to manually correct this. 

However I don’t want to make Corona Editor the global Lua syntax, in case I’m working with Lua files for other reasons.

Cue Project Specific Syntax Settings! Just install it via Package Manager and add the Corona Editor as the default syntax for all Lua files for your project.

Here’s my project settings for my current project:

{   "folders":   [   {      "folder\_exclude\_patterns": ["img","sounds","music"],      "file\_exclude\_patterns":["\*.ttf"],      "follow\_symlinks": true,      "path": "/Users/username/Programming/project/src"    }   ],   "syntax\_override": {       "\\.lua$": ["Corona Editor", "CoronaSDKLua"]   } }  

That seems to work a treat. Link here: https://github.com/reywood/sublime-project-specific-syntax