File: reST.yaml

package info (click to toggle)
micro 2.0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,828 kB
  • sloc: sh: 247; makefile: 77; xml: 53
file content (18 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
filetype: rst

detect:
    filename: "\\.rest$|\\.rst$"

rules:
    - statement: "\\*\\*[^*]+\\*\\*"
    - preproc: "::"
    - constant.string: "`[^`]+`_{1,2}"
    - constant.string: "``[^`]+``"
    - identifier: "^\\.\\. .*$"
    - identifier: "^__ .*$"
    - type: "^###+$"
    - type: "^\\*\\*\\*+$"
    - special: "^===+$"
    - special: "^---+$"
    - special: "^\\^\\^\\^+$"
    - special: "^\"\"\"+$"