JohnNilsson / awk-sublime

Awk syntax highlighting in Sublime Text
MIT License
25 stars 6 forks source link

Sublime Text 2 support? #8

Open Gama11 opened 8 years ago

Gama11 commented 8 years ago

After downloading this plugin from package control, no AWK entry was available in the syntax dropdown for me. Looking through the commit history a bit, 9422856e, where .YAML-tmLanguage was converted to .sublime-syntax, piqued my interest. Sure enough, reverting to the parent commit 7ec7d15 makes it work for me in ST2. It seems like .sublime-syntax only works in ST3.

Was support for Sublime Text 2 dropped intentionally?

JohnNilsson commented 8 years ago

To be honest it wasn't intentionally supported.

I fear back porting the changes done in sublime-syntax to handle regex / division ambiguity could be a challenge also as its a different parsing model. So not something I plan to do.

If it's possible to keep an older syntax definition for ST2 while still using the new sublime-syntax for ST3 I guess a pull request to that effect would do.

Gama11 commented 8 years ago

I don't mind too much if it's not supported, I was mostly asking for clarafication. Would be good to note this in the Readme.