Page MenuHomePhabricator

SQL format does not colorize for "ELSEIF"
Closed, ResolvedPublic

Description

The SQL format does not highlight the "ELSEIF" function as it does with IF or ELSE.


Version: REL1_23-branch
Severity: normal

Details

Reference
bz72232

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:48 AM
bzimport set Reference to bz72232.
bzimport added a subscriber: Unknown Object (MLST).

Will require a fix in the upstream geshi library (which is mostly unmaintained btw)...

(In reply to Derk-Jan Hartman from comment #1)

Will require a fix in the upstream geshi library (which is mostly
unmaintained btw)...

There's a few commits every couple of months by the looks of things... https://github.com/GeSHi/geshi-1.0

I wouldn't expect there to be loads of activity since arguably the language syntax doesn't change that regularly...

(In reply to Lewis Cawte from comment #2)

(In reply to Derk-Jan Hartman from comment #1)

Will require a fix in the upstream geshi library (which is mostly
unmaintained btw)...

There's a few commits every couple of months by the looks of things...
https://github.com/GeSHi/geshi-1.0

I wouldn't expect there to be loads of activity since arguably the language
syntax doesn't change that regularly...

Ahh well thanks for the GitHub link, I'll create a pull request on there, and reference this bug :)

@Reedy, should we consider creating a wikimedia/geshi repo with composer support for geshi and pull our version from there ?

Stuff still seems to take a bit too long on the geshi side once in a while.

Pygments does not appear to highlight "if" or "elseif", it does highlight "else".

TheDJ triaged this task as Lowest priority.Jun 26 2015, 8:05 AM