]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/reST.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / reST.yaml
1 filetype: rst
2
3 detect:
4     filename: "\\.rest$|\\.rst$"
5
6 rules:
7     - statement: "\\*\\*[^*]+\\*\\*"
8     - preproc: "::"
9     - constant.string: "`[^`]+`_{1,2}"
10     - constant.string: "``[^`]+``"
11     - identifier: "^\\.\\. .*$"
12     - identifier: "^__ .*$"
13     - type: "^###+$"
14     - type: "^\\*\\*\\*+$"
15     - special: "^===+$"
16     - special: "^---+$"
17     - special: "^\\^\\^\\^+$"
18     - special: "^\"\"\"+$"