fix lua comment block

This commit is contained in:
tommy 2017-12-04 20:30:35 +00:00
parent 9da1ef178e
commit cdb057dfc3

View file

@ -46,13 +46,15 @@ rules:
- special: "\\\\[0-7][0-7][0-7]|\\\\x[0-9a-fA-F][0-9a-fA-F]|\\\\[abefnrs]|(\\\\c|\\\\C-|\\\\M-|\\\\M-\\\\C-)."
- comment.block:
start: "\\-\\-\\[(\\=*|\\#*)\\["
end: "\\-\\-\\](\\=*|\\#*)\\]"
rules:
- todo: "(TODO|XXX|FIXME):?"
# this has to go after block comment or block comment does not work
- comment:
start: "\\-\\-"
end: "$"
rules: []
- comment:
start: "\\-\\-\\[\\["
end: "\\]\\]"
rules: []
rules: []