ahkscript / SublimeAutoHotkey

AutoHotkey AHK language package for SublimeText including syntax highlighting, comments toggling, auto-completions, build system definitions, commands for ahkrun, ahkcompile, ahkrunpiped.
The Unlicense
207 stars 43 forks source link

Moving from tmLanguage to sublime-syntax #62

Open john-cj opened 4 years ago

john-cj commented 4 years ago

Default packages are now use sublime-syntax format instead of tmLanguage. SublimeAutoHotkey doesn't. (Actually, it seems the new format was introduced back in 2016.)

The new format seems to be easier to edit (no XML) and also more powerful.

Specific features in .sublime-syntax that are not available as part of .tmLanguage:

  • The set directive
  • Pushing multiple contexts via a push or set directive. (A single push/pop is equivalent to begin/end.)
  • The clear_scopes directive
  • Variables