filetype: tex
detect:
- filename: "\\.tex$|bib|\\.bib$|cls|\\.cls$"
+ filename: "\\.tex$|\\.bib$|\\.cls$"
rules:
# colorize the identifiers of {<identifier>} and [<identifier>]
- special: "[&\\\\]"
# macros
- statement: "\\\\@?[a-zA-Z_]+"
+ - statement: "\\\\%"
# comments
- comment:
- start: "%"
+ start: "[^\\\\]%"
end: "$"
rules: []
- comment: