2017-02-18 20:17:07 +00:00
|
|
|
filetype: rst
|
|
|
|
|
|
2017-03-21 18:55:22 +00:00
|
|
|
detect:
|
2017-02-18 20:17:07 +00:00
|
|
|
filename: "\\.rest$|\\.rst$"
|
|
|
|
|
|
|
|
|
|
rules:
|
2017-03-21 18:55:22 +00:00
|
|
|
- identifier: "^[\\*+\\-] "
|
|
|
|
|
- identifier: "^[0-9]+?\\. "
|
|
|
|
|
- type: "\\*[^*]+?\\*"
|
|
|
|
|
- type.keyword: "\\*\\*[^\\*]+\\*\\*"
|
|
|
|
|
- symbol: "::"
|
|
|
|
|
- underlined.url: "`[^`]+`_{1,2}"
|
|
|
|
|
- special: "``[^`]+``"
|
|
|
|
|
- comment: "^\\.\\. .*$"
|
|
|
|
|
- underlined: "^__ .*$"
|
|
|
|
|
- statement: "^###+$"
|
|
|
|
|
- statement: "^\\*\\*\\*+$"
|
|
|
|
|
- preproc: "^===+$"
|
|
|
|
|
- identifier: "^---+$"
|
|
|
|
|
- type.keyword: "^\\^\\^\\^+$"
|
|
|
|
|
- constant: "^\"\"\"+$"
|
|
|
|
|
- underlined.url: "http(s)?://[^ )>]+"
|
|
|
|
|
- preproc: "\\+[\\-=+]+\\+"
|
|
|
|
|
- preproc: "\\|"
|