2017-02-18 23:17:07 +03:00
|
|
|
filetype: rst
|
|
|
|
|
2017-03-21 22:07:39 +03:00
|
|
|
detect:
|
2017-02-18 23:17:07 +03:00
|
|
|
filename: "\\.rest$|\\.rst$"
|
|
|
|
|
|
|
|
rules:
|
2017-03-21 22:07:39 +03:00
|
|
|
- statement: "\\*\\*[^*]+\\*\\*"
|
|
|
|
- preproc: "::"
|
|
|
|
- constant.string: "`[^`]+`_{1,2}"
|
|
|
|
- constant.string: "``[^`]+``"
|
|
|
|
- identifier: "^\\.\\. .*$"
|
|
|
|
- identifier: "^__ .*$"
|
|
|
|
- type: "^###+$"
|
|
|
|
- type: "^\\*\\*\\*+$"
|
|
|
|
- special: "^===+$"
|
|
|
|
- special: "^---+$"
|
|
|
|
- special: "^\\^\\^\\^+$"
|
|
|
|
- special: "^\"\"\"+$"
|