Posted 19 February 2013 - 07:20 PM
Heya, I've started using Sublime 2 for my Dev'. One thing I noticed is that it does not highlight CC Lua files with Lua color because they've no extension.
This plugin fixes that, It defaults your syntax when you create or load a file to what you specify in the config.
I've defaulted this setting to Lua. But if you did some sort of other development in Sublime with another language that had no extension. You could use this for that also.
Files:
plugin: http://pastebin.com/sgPzXCfb
config: http://pastebin.com/Tnjr0mGc
download for both: Here
Installation:
Go to Preferences -> Browse Packages and paste the folder inside the zip there. Else create a folder called DefaultPackages and put the two files in there as defaultsyntax.py and defaultsyntax.sublime-settings.
:)/>
This plugin fixes that, It defaults your syntax when you create or load a file to what you specify in the config.
I've defaulted this setting to Lua. But if you did some sort of other development in Sublime with another language that had no extension. You could use this for that also.
Files:
plugin: http://pastebin.com/sgPzXCfb
config: http://pastebin.com/Tnjr0mGc
download for both: Here
Installation:
Go to Preferences -> Browse Packages and paste the folder inside the zip there. Else create a folder called DefaultPackages and put the two files in there as defaultsyntax.py and defaultsyntax.sublime-settings.
:)/>