]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/reST.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / reST.yaml
index db5d4b279a8335b0f402dc9016e39387727942d6..6a25b8093bf21fae987d9a932950ef14670f20a1 100644 (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: "^\"\"\"+$"