]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/reST.yaml
Ignore tool files
[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: "^\"\"\"+$"