Closed
Description
Lua long string and comments are incorrect. The language syntax seems to expect that the delimiters needed to be paired, which is not the case.
Example:
--[===[
This a comment
]==]
This is still a comment, but not recognized as such by highlight.js
]===]
local function more(...)
return
end
I encountered this issue while trying to add syntax highlighting for my own language, and was looking at other examples. Is there anyway to reference captures in the begin pattern in the end pattern?
Metadata
Metadata
Assignees
Labels
No labels