Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
In #27 it was noted that tests.lua fail with Lua 5.3. @moesasji confirms that and @orbitalquark argues that defining _G.lpeg works. Indeed, the patch below made it work for Lua 5.3. Defining lpeg as a global is equivalent to define _G.lpeg, no?
In #27 it was noted that
tests.lua
fail with Lua 5.3. @moesasji confirms that and @orbitalquark argues that defining_G.lpeg
works. Indeed, the patch below made it work for Lua 5.3. Defininglpeg
as a global is equivalent to define_G.lpeg
, no?