Files
zyedidia.micro/runtime/syntax/reST.yaml
Zachary Yedidia 2fcb40d5a9 Use new syntax highlighting engine from zyedidia/highlight
This changes all the syntax files in the runtime directory and also
changes how syntax highlighting is done from inside micro.
2017-02-26 11:14:35 -05:00

19 lines
408 B
YAML

filetype: rst
detect:
filename: "\\.rest$|\\.rst$"
rules:
- statement: "\\*\\*[^*]+\\*\\*"
- preproc: "::"
- constant.string: "`[^`]+`_{1,2}"
- constant.string: "``[^`]+``"
- identifier: "^\\.\\. .*$"
- identifier: "^__ .*$"
- type: "^###+$"
- type: "^\\*\\*\\*+$"
- special: "^===+$"
- special: "^---+$"
- special: "^\\^\\^\\^+$"
- special: "^\"\"\"+$"