mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-22 00:40:23 +00:00
Merge pull request #946 from tommyshem/luafix
fix lua comment block #929
This commit is contained in:
commit
e443adef31
1 changed files with 9 additions and 7 deletions
|
|
@ -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: []
|
||||
Loading…
Reference in a new issue