Patch #1471

Lua syntax highlighter for CodeRay

Added by Chris Peterson about 14 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2008-06-16
Priority:NormalDue date:
Assignee:-% Done:


Category:Third-party libraries
Target version:-


Attached is a patch that will add lua lexer syntax highlighting to coderay.

coderay_lua_lexar.patch Magnifier (5.09 KB) Chris Peterson, 2008-06-16 21:12

Related issues

Blocked by Redmine - Feature #8253: Update CodeRay to 1.1 final Closed


#1 Updated by Mischa The Evil over 12 years ago

Kornelius Kalnbach (CodeRay project-manager) has planned the integration of a Lua-scanner for CodeRay 1.0 RC1 based on the patch supplied here by Chris Peterson. See

Therefor this issue will eventually get obsoleted whenever the CodeRay-library in Redmine is updated to 1.0+.

#2 Updated by Pierre-Yves Gérardy almost 12 years ago

There's a typo on line 54:

'upack' => 'unpack'

#3 Updated by Felix Schäfer almost 12 years ago

Pierre-Yves, please contact Kornelius for fixes to that, here's the wrong place for that :-)

#4 Updated by Kornelius Kalnbach almost 12 years ago

No, I'm not the right person to handle this. The Lua scanner is not part of the distribution. Since the ticket is still open, I don't think it's included in Redmine. So this thread is a bit like the Lua scanner project page ;)

#5 Updated by Mischa The Evil over 11 years ago

  • Category set to Third-party libraries

Changed issue-relations to reflect the upstream roadmap:

- related to Feature #4264: Update CodeRay to 1.0 final
+ blocked by Feature #8253: Update CodeRay to 1.1 final

and changed to new - more appropriate - category...

#6 Updated by Mischa The Evil over 11 years ago

  • Target version set to Unplanned backlogs

#7 Updated by Ebrahim Mohammadi over 11 years ago

Implementing #8120 as discussed would solve Lua syntax highlighting, since both Google Code Prettify and Sunlight support Lua.

#8 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Target version deleted (Unplanned backlogs)

Superseded by #8253.

Also available in: Atom PDF