PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.27.4
Code Block Pro – Beautiful Syntax Highlighting v1.27.4
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
code-block-pro / build / shiki / languages / reg.tmLanguage.json

reg.tmLanguage.json in Code Block Pro – Beautiful Syntax Highlighting 1.27.4, at build/shiki/languages/reg.tmLanguage.json

134 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "fileTypes": ["reg", "REG"],
3 "name": "reg",
4 "patterns": [
5 {
6 "match": "Windows Registry Editor Version 5\\.00|REGEDIT4",
7 "name": "keyword.control.import.reg"
8 },
9 {
10 "captures": {
11 "1": {
12 "name": "punctuation.definition.comment.reg"
13 }
14 },
15 "match": "(;).*$",
16 "name": "comment.line.semicolon.reg"
17 },
18 {
19 "captures": {
20 "1": {
21 "name": "punctuation.definition.section.reg"
22 },
23 "2": {
24 "name": "entity.section.reg"
25 },
26 "3": {
27 "name": "punctuation.definition.section.reg"
28 }
29 },
30 "match": "^\\s*(\\[(?!-))(.*?)(\\])",
31 "name": "entity.name.function.section.add.reg"
32 },
33 {
34 "captures": {
35 "1": {
36 "name": "punctuation.definition.section.reg"
37 },
38 "2": {
39 "name": "entity.section.reg"
40 },
41 "3": {
42 "name": "punctuation.definition.section.reg"
43 }
44 },
45 "match": "^\\s*(\\[-)(.*?)(\\])",
46 "name": "entity.name.function.section.delete.reg"
47 },
48 {
49 "captures": {
50 "2": {
51 "name": "punctuation.definition.quote.reg"
52 },
53 "3": {
54 "name": "support.function.regname.ini"
55 },
56 "4": {
57 "name": "punctuation.definition.quote.reg"
58 },
59 "5": {
60 "name": "punctuation.definition.equals.reg"
61 },
62 "7": {
63 "name": "keyword.operator.arithmetic.minus.reg"
64 },
65 "9": {
66 "name": "punctuation.definition.quote.reg"
67 },
68 "10": {
69 "name": "string.name.regdata.reg"
70 },
71 "11": {
72 "name": "punctuation.definition.quote.reg"
73 },
74 "13": {
75 "name": "support.type.dword.reg"
76 },
77 "14": {
78 "name": "keyword.operator.arithmetic.colon.reg"
79 },
80 "15": {
81 "name": "constant.numeric.dword.reg"
82 },
83 "17": {
84 "name": "support.type.dword.reg"
85 },
86 "18": {
87 "name": "keyword.operator.arithmetic.parenthesis.reg"
88 },
89 "19": {
90 "name": "keyword.operator.arithmetic.parenthesis.reg"
91 },
92 "20": {
93 "name": "constant.numeric.hex.size.reg"
94 },
95 "21": {
96 "name": "keyword.operator.arithmetic.parenthesis.reg"
97 },
98 "22": {
99 "name": "keyword.operator.arithmetic.colon.reg"
100 },
101 "23": {
102 "name": "constant.numeric.hex.reg"
103 },
104 "24": {
105 "name": "keyword.operator.arithmetic.linecontinuation.reg"
106 },
107 "25": {
108 "name": "comment.declarationline.semicolon.reg"
109 }
110 },
111 "match": "^(\\s*([\"']?)(.+?)([\"']?)\\s*(=))?\\s*((-)|(([\"'])(.*?)([\"']))|(((?i:dword))(\\:)\\s*([\\dabcdefABCDEF]{1,8}))|(((?i:hex))((\\()([\\d]*)(\\)))?(\\:)(.*?)(\\\\?)))\\s*(;.*)?$",
112 "name": "meta.declaration.reg"
113 },
114 {
115 "match": "[0-9]+",
116 "name": "constant.numeric.reg"
117 },
118 {
119 "match": "[a-fA-F]+",
120 "name": "constant.numeric.hex.reg"
121 },
122 {
123 "match": ",+",
124 "name": "constant.numeric.hex.comma.reg"
125 },
126 {
127 "match": "\\\\",
128 "name": "keyword.operator.arithmetic.linecontinuation.reg"
129 }
130 ],
131 "scopeName": "source.reg",
132 "uuid": "B7773F5B-C43A-4BB9-843A-4AC119250EBD"
133 }
134