Closed ghost closed 7 years ago
That is strange ... something about the combination of the brackets in the string and the inline function definition is making Sublime wig out (and it's the Corona Lua syntax definition; the default Lua syntax definition doesn't have the issue).
You can workaround the problem by adding a newline:
describe("foo()",
function ()
local bar = 123
end)
This is fixed in release 1.7.0
If I write a Busted test like this:
The syntax highlighting is wrong after the string
foo()
.