1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Syntax support file for the Lumina Text Editor
# ===================================
# JSON language support rules
# Written by Ken Moore <ken@ixsystems.com>
# Released under the 2-clause BSD license
# ===================================
{
"meta": {
"name": "JSON",
"file_suffix": ["json"]
},
"format": {
"line_wrap": false,
"highlight_whitespace_eol" : true,
"tab_width": 8
},
"rules": [{
"name": "keywords",
"words": ["true","false"],
"foreground": "colors/keyword"
},
{
"name": "numbers",
"regex" : "[0-9\\.]+",
"foreground": "colors/altkeyword"
},
{
"name" : "strings inside a tag",
"regex": "\"[^\"\\\\]*(\\\\(.|\\n)[^\"\\\\]*)*\"|'[^'\\\\]*(\\\\(.|\\n)[^'\\\\]*)*'",
"foreground" : "colors/text"
}
]
}
|