summaryrefslogtreecommitdiff
path: root/dot_config/micro/syntax/gemini.yaml
blob: 40ba7894f1dc2ae592c1cdb07a395968039f6450 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
filetype: gemini

detect:
    filename: "(\\.gmi$|\\.gemini$)"

rules:
    # links
    - constant: "^=>"

    # preformatted toggles/lines
    - special:
        start: "^```"
        end: "^```"
        rules: []

    # headings
    - special: "^#{1,3}.*$"

    # unordered lists
    - identifier: "^\\* "

    # quotes
    - statement: "^>.*$"