Closed tomasaschan closed 5 years ago
The best would be to actually rebase this on top of https://github.com/JuliaLang/Julia.tmbundle, which has had several improvements lately that haven't been tracked here.
Ah, then I'll do that instead :) Will that bring the changes into Sublime-IJulia as well (i.e. is the syntax file actually read from there) or do we have to change something more here to get the recent changes there?
(As it turns out, Julia.tmbundle
seems to already support stagedfunctions...)
They're separate right now, but we should perhaps do a submodule to auto-track updates there. We do have a few custom additions here, like detecting SQL highlighting in ODBC.query
as well as auto-highlighting C++ code in the cxx""
string macro. We could probably handle adding those in though without too much trouble.
Why not just add those there instead?
stagedfunction
s are a really nice new feature in 0.4, and I use it already. However, it's a little annoying when syntax highlighting doesn't work for it - so I made an attempt at fixing that :)I'm not sure these are all the changes that are required to make this work properly, but I haven't spent any time in Sublime syntax/language files before, so I don't really know what I'm looking for. If I should do any other things before this is merged, point me in the right direction and I'll take a stab at it.