(file_progress_show_total): use 'copied_bytes' to show numeric value.
[midnight-commander.git] / misc / syntax / json.syntax
blobf66b1f8a6c8c1a8530719fc03dec86777116369e
2 # JSON syntax highlighting
3 # for MC Editor/CoolEdit
5 # Author: Sergii Pylypenko <x.pelya.x@gmail.com>
8 context default
10     #=========================
11     # Constants
12     keyword whole true brightgreen
13     keyword whole false brightgreen
14     keyword whole null brightgreen
16     #=========================
17     # Numbers
18     keyword whole \[-\]\{0123456789\}\[0123456789\] brightgreen
19     keyword whole \[-\]\{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\] brightgreen
20     keyword whole \[-\]\{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen
21     keyword whole \[-\]\{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen
22     keyword whole \[-\]\{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen
23     keyword whole \[-\]\{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen
25     #=========================
26     # Separators
27     keyword { brightcyan
28     keyword } brightcyan
29     keyword [ brightcyan
30     keyword ] brightcyan
31     keyword , brightcyan
32     keyword : brightcyan
34 #=============================
35 # Strings
36 context " " green
37     spellcheck
38     keyword \\\{"\\/bfnrt\} brightgreen
39     keyword \\u\{0123456789ABCDEFabcdef\}\{0123456789ABCDEFabcdef\}\{0123456789ABCDEFabcdef\}\{0123456789ABCDEFabcdef\} brightgreen