Add Lua highlighter
@hadess
Submitted by Bastien Nocera Link to original bug (#756002)
Description
luac can be used to "compile" (to bytecode) lua code. This can be useful to mark basic parsing errors.
For example, when initialising an array with:
source =
id = "grl-pocket-lua",
instead of:
source = {
id = "grl-pocket-lua",
I get:
luac: grl-pocket.lua:39: unexpected symbol near '='
It looks like GtkSourceView already provides some feedback (the line is marked orange), but it seems that it's not well integrated in gnome-builder (adding the missing "{" will input "{}").
Edited by Alexandre Franke