Improve new syntax files and fix a region glitch

This commit is contained in:
Zachary Yedidia
2017-03-21 15:07:39 -04:00
parent b977bf5cca
commit 54bb99d758
67 changed files with 2941 additions and 642 deletions

View File

@@ -1,24 +1,18 @@
filetype: rst
detect:
detect:
filename: "\\.rest$|\\.rst$"
rules:
- 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: "\\|"
- statement: "\\*\\*[^*]+\\*\\*"
- preproc: "::"
- constant.string: "`[^`]+`_{1,2}"
- constant.string: "``[^`]+``"
- identifier: "^\\.\\. .*$"
- identifier: "^__ .*$"
- type: "^###+$"
- type: "^\\*\\*\\*+$"
- special: "^===+$"
- special: "^---+$"
- special: "^\\^\\^\\^+$"
- special: "^\"\"\"+$"