char/avril

(wip) why'd you have to go and make things so complicaaaaated?

git clone https://git.t4t.associates/char/avril

Charlotte Somchore: use lowercase avril branding consistentlyb862289

main
1.2 KiB58 linesraw
1{
2  "scopeName": "source.avril-config",
3  "name": "avril Config",
4  "patterns": [
5    {
6      "name": "comment.line.double-slash.avril",
7      "begin": "//",
8      "end": "$"
9    },
10    {
11      "name": "comment.block.avril",
12      "begin": "/\\*",
13      "end": "\\*/"
14    },
15    {
16      "name": "string.quoted.double.avril",
17      "begin": "\"",
18      "end": "\"",
19      "patterns": [
20        {
21          "name": "constant.character.escape.avril",
22          "match": "\\\\."
23        }
24      ]
25    },
26    {
27      "name": "string.quoted.single.avril",
28      "begin": "'",
29      "end": "'",
30      "patterns": [
31        {
32          "name": "constant.character.escape.avril",
33          "match": "\\\\."
34        }
35      ]
36    },
37    {
38      "name": "variable.other.property.avril",
39      "match": "[A-Za-z_$][A-Za-z0-9_$]*(?=\\s*:)"
40    },
41    {
42      "name": "constant.language.avril",
43      "match": "\\b(?:true|false|null)\\b"
44    },
45    {
46      "name": "constant.numeric.avril",
47      "match": "(?<![\\w.])-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\b"
48    },
49    {
50      "name": "punctuation.separator.avril",
51      "match": "[:,]"
52    },
53    {
54      "name": "punctuation.section.avril",
55      "match": "[{}\\[\\]]"
56    }
57  ]
58}