I’m comparing the features of .tmLanguage and .sublime-syntax to see which one fits my purposes and coding style better. But before I can decide, I need to know a few things about how does sublime use .tmLanguage grammars.
tmLanguage in TextMate can use "include = to include the grammar with such top-level scope name. This would be equivalent to sublime-syntax’s include: . Does this also function in sublime? If so, in which folder will the grammar with be expected to be? Same folder as the including grammar? Same folder or subfolders?
tm.Language also can do include = #item in repository> which would be a very convenient feature that has no equialent in sublime-syntax. So I guess that if the above is possible for .tmLanguage within sublime, this is too?
Finally, can tmLanguage use the new, non-backtracking regex engine sublime has? Or is it limited to using the old backtracking one? I.e. should I be using possessive quantifiers, atomic groups and the like, or should I avoid them?
THanks in advance!