clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
235 stars 86 forks source link

Updated exec command args to work with ST2 and ST3. #250

Closed RoccoC closed 8 years ago

RoccoC commented 8 years ago

When using the Haxe Bundle with ST2, running a build throws an error due to invalid arguments getting passed to the ST exec command. ST2 does not support the "syntax" argument, and so the command execution fails. Updated the run_command() logic to only pass the syntax arg if running ST3+.

RoccoC commented 8 years ago

Note: See here for valid ST2 exec args, and here for valid ST3 exec args (unofficial documentation).

ghost commented 8 years ago

Thanks.