Syntax highlighting not correct for lua block comments
The script editor does not use the correct syntax highlighting for lua block comments.
For a block comment beginning with --[[
it seems to be expecting it to close with --]]
but ]]
is a valid closure.
So if the lua script begins with a block comment like this:
--[[
This is a block comment
]]
function do_stuff()
print"hello"
return true
end
Then the result is the entire script is colored green as if it is a comment, even though that is not the case.