While in tasks, syntaxhighlighting is supported for lua uing lang=lua this option is not available when creating a paste. Pastes should also allow syntaxhighlighting for lua as it becomes more and more important to show examples of how lua can be used on Wikipedias.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add "Lua" to syntax highlighting dropdown choices in Phab's "Paste" | operations/puppet | production | +49 -0 |
Related Objects
Related Objects
Event Timeline
Comment Actions
This is configurable in pygments.dropdown-choices.
Naming a file something.lua and leaving "Language" set to "Detect Automatically" should also engage the Lua highlighter.
Comment Actions
Change 290409 had a related patch set uploaded (by Aklapper):
Add "Lua" to syntax highlighting dropdown choices in Phab's "Paste"
Comment Actions
(Assuming as per previous comment that Lua is not wanted as a default choice in upstream, I've prepared a downstream configuration patch, for the lulz.)
Comment Actions
Change 290409 merged by Dzahn:
Add "Lua" to syntax highlighting dropdown choices in Phab's "Paste"