Linguist: Update Julia syntax

Created on 8 Nov 2020  路  5Comments  路  Source: github/linguist

The 0.20 release of language-julia has a critical bug that breaks highlighting for basically every file (e.g. this). This wasn't caught in our tests because those run with Oniguruma instead of PCRE.

0.20.1 fixes the bug (verified with lightshow), so it would be great if we could get a patch release to un-break syntax highlighting on GitHub without having to wait for month or so :)

Thanks and sorry for the trouble!

Most helpful comment

No probs. I've pulled this into v7.12.1 which I'm in the process of releasing right now.

All 5 comments

No probs. I've pulled this into v7.12.1 which I'm in the process of releasing right now.

Thanks a bunch!

Related: Do you have any pointers on how to run (regression) tests against GitHub's syntax highlighting pipeline? I'd rather not have to check lightshow for each PR...

Do you have any pointers on how to run (regression) tests against GitHub's syntax highlighting pipeline?

Unfortunately not. @Alhadis might have some ideas as he maintains a few grammars.

The latest Julia grammar is now in use on GitHub.com. Current files are cached so their syntax highlighting won't change until there is a push to each repo.

https://gist.github.com/lildude/13b6fe9e3afc45db47e801ec53984619 is an example of what the file you originally referenced will look like once the repo is reanalysed.

Closing.

Current files are cached so their syntax highlighting won't change until there is a push to each repo.

~Is that only the case for patch releases or why did the broken grammar get applied for _all_ files, not just those that were modified since Friday?~ Ah, nvm, there actually was a commit to the repo I was checking.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TimothyGu picture TimothyGu  路  5Comments

d4nyll picture d4nyll  路  3Comments

RafaelPAndrade picture RafaelPAndrade  路  4Comments

Alhadis picture Alhadis  路  5Comments

oldmud0 picture oldmud0  路  6Comments