I am using the Lua syntax word file. In Lua line comments start with a "--". Block comments in Lua start with a "--[[" and end with a "]]".
My problem is that block comments simply are not highlighted properly. Only the first line is highlighted and the rest of the block of code is treated as though its not a comment. I have figured out that it is as a result of the "--" beginning both a line comment and a block comment.
Other editors I have used - such as EditPlus - seem to handle this just fine. Any ideas on how to get around this seeming limitation?
My problem is that block comments simply are not highlighted properly. Only the first line is highlighted and the rest of the block of code is treated as though its not a comment. I have figured out that it is as a result of the "--" beginning both a line comment and a block comment.
Other editors I have used - such as EditPlus - seem to handle this just fine. Any ideas on how to get around this seeming limitation?