Add converted syntax files

This commit is contained in:
Zachary Yedidia
2017-03-21 14:55:22 -04:00
parent fa7f89a400
commit b977bf5cca
104 changed files with 1807 additions and 1233 deletions

View File

@@ -4,28 +4,23 @@ detect:
filename: "\\.tex$|bib|\\.bib$|cls|\\.cls$"
rules:
# colorize the identifiers of {<identifier>} and [<identifier>]
- identifier:
start: "\\{"
end: "\\}"
rules: []
- identifier:
start: "\\["
end: "\\]"
rules: []
# numbers
- constant.number: "\\b[0-9]+(\\.[0-9]+)?([[:space:]](pt|mm|cm|in|ex|em|bp|pc|dd|cc|nd|nc|sp))?\\b"
# let brackets have the default color again
- default: "[{}\\[\\]]"
- symbol.brackets: "[{}\\[\\]]"
- special: "[&\\\\]"
# macros
- statement: "\\\\@?[a-zA-Z_]+"
# comments
- comment:
start: "%"
end: "$"
rules: []
- identifier.macro: "\\\\@?[a-zA-Z_]+"
- comment: "%.*"
- comment:
start: "\\\\begin\\{comment\\}"
end: "\\\\end\\{comment\\}"
rules: []