Alexander Hedges

Results 36 comments of Alexander Hedges

Let's say the files are in `/Users/demo/tmfiles/` and they all have a `.xml` extension (instead of .tmLanguage and .tmTheme). As explained in the Readme, to get the Language and Theme...

Also, you only need the actual files containing the themes and languages, no additional plists.

Did you take a look at [TRex](https://github.com/dehlen/TRexSyntaxKitDemo)? It's written in swift 2 and uses an old SyntaxKit version, but apart from the BundleManager described above these changes here should be...

It doesn't matter which extension the files have, as long as you can calculate their URL. I did one more small change. I figured it would be more flexible to...

Does it print any warnings? Sometimes you have to adjust the regexes a bit for it to work with NSRegularExpression. Especially '{' is sometimes not quoted in .tmLanguage files.

And one more thing: the objective c grammar directly depends on the c grammar, so you need to have that installed too.

It's included automatically, just make sure the callback finds it.

You can try to fix the problems with the regexes if you want to (see the caveats above), but mostly it should highlight fairly well even with warnings.

In the meantime you can just use the fork.

Nope, I decided the current state was good enough (backreferences are usually used to recognize languages embedded within other languages, which usually slows parsing down quite a bit). Also for...