the formatting of Lua multi-line strings messes up the source structure,
in the following MWE, the "one" is displayed after "[[":
\starttext
\startLUA
words = [[
one
two
three
]]
\stopLUA
\stoptext
I can reproduce this. As a workaround, you can insert a non-breaking
space (U+00A0) immediately after the "[[":
\starttext
\startLUA
words = [[
one
two
three
]]
\stopLUA
\stoptext
(You can't see the NBSP, but it's there)
You can also use the Scite syntax highlighting:
\usemodule[scite]
\starttext
\startLUA
words = [[
one
two
three
]]
\stopLUA
\stoptext
It produces different (but usually better) output than the default
highlighter. This module is installed by default with ConTeXt LMTX.
There's also the Vim module:
\usemodule[vim]
\definevimtyping[LUA][syntax=lua]
\starttext
\startLUA
words = [[
one
two
three
]]
\stopLUA
\stoptext
You would need to install this module manually though.
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________