Skip to content

Commit 1cfd481

Browse files
committed
Style change
1 parent 4e1dd83 commit 1cfd481

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

cshtml.sublime-syntax

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ contexts:
1414
- include: html
1515

1616
directive-generic-attribute:
17-
- match: '\b(\w+)\s*(?:(=)\s*((")[^"]*("))?)?\s*'
17+
- match: \b(\w+)\s*(?:(=)\s*((")[^"]*("))?)?\s*
1818
captures:
1919
1: entity.other.attribute-name.cshtml
2020
2: punctuation.separator.key-value.cshtml
@@ -29,7 +29,7 @@ contexts:
2929

3030
directive:
3131
# https://msdn.microsoft.com/en-us/library/xz702w3e(v=vs.100).aspx
32-
- match: '<%@'
32+
- match: <%@
3333
scope: punctuation.section.embedded.begin.cshtml
3434
set:
3535
- meta_scope: meta.block.processing-directive.cshtml
@@ -45,7 +45,7 @@ contexts:
4545

4646
directive-type:
4747
# https://msdn.microsoft.com/en-us/library/xz702w3e(v=vs.100).aspx
48-
- match: '\b(?i:Application|Page|Control|Master)\b'
48+
- match: \b(?i:Application|Page|Control|Master)\b
4949
scope: constant.language.processing-directive.cshtml entity.name.class.cs
5050
set:
5151
- meta_scope: meta.block.processing-directive.contents.type.cshtml
@@ -54,11 +54,11 @@ contexts:
5454

5555
directive-import:
5656
# https://msdn.microsoft.com/en-us/library/eb44kack(v=vs.100).aspx
57-
- match: '\b(?i:Import)\b'
57+
- match: \b(?i:Import)\b
5858
scope: constant.language.processing-directive.cshtml
5959
set:
6060
- meta_scope: meta.block.processing-directive.contents.import.cshtml
61-
- match: '\b(?i:(Namespace))\s*(=)\s*((")([^"]*)("))'
61+
- match: \b(?i:(Namespace))\s*(=)\s*((")([^"]*)("))
6262
captures:
6363
1: entity.other.attribute-name.cshtml
6464
2: punctuation.separator.key-value.cshtml
@@ -70,11 +70,11 @@ contexts:
7070

7171
directive-implements:
7272
# https://msdn.microsoft.com/en-us/library/cbsf6k72(v=vs.100).aspx
73-
- match: '\b(?i:(Implements))\b'
73+
- match: \b(?i:Implements)\b
7474
scope: constant.language.processing-directive.cshtml
7575
set:
7676
- meta_scope: meta.block.processing-directive.contents.implements.cshtml
77-
- match: '\b(?i:(Interface))\s*(=)\s*((")([^"]*)("))'
77+
- match: \b(?i:(Interface))\s*(=)\s*((")([^"]*)("))
7878
captures:
7979
1: entity.other.attribute-name.cshtml
8080
2: punctuation.separator.key-value.cshtml
@@ -86,11 +86,11 @@ contexts:
8686

8787
directive-reference:
8888
# https://msdn.microsoft.com/en-us/library/w70c655a(v=vs.100).aspx
89-
- match: '\b(?i:(Reference))\b'
89+
- match: \b(?i:Reference)\b
9090
scope: constant.language.processing-directive.reference.cshtml
9191
set:
9292
- meta_scope: meta.block.processing-directive.contents.reference.cshtml
93-
- match: '\b(?i:(Page|Control|VirtualPath))\s*(=)\s*((")([^"]*)("))'
93+
- match: \b(?i:(Page|Control|VirtualPath))\s*(=)\s*((")([^"]*)("))
9494
captures:
9595
1: entity.other.attribute-name.cshtml
9696
2: punctuation.separator.key-value.cshtml
@@ -102,35 +102,35 @@ contexts:
102102

103103
directive-outputcache:
104104
# https://msdn.microsoft.com/en-us/library/hdxfb6cy(v=vs.100).aspx
105-
- match: '\b(?i:(OutputCache))\b'
105+
- match: \b(?i:OutputCache)\b
106106
scope: constant.language.processing-directive.caching.cshtml
107107
set:
108108
- meta_scope: meta.block.processing-directive.contents.outputcache.cshtml
109-
- match: '\b(?i:(Duration))\s*(=)\s*((")(?:(\d+)|[^"]*)("))'
109+
- match: \b(?i:(Duration))\s*(=)\s*((")(?:(\d+)|[^"]*)("))
110110
captures:
111111
1: entity.other.attribute-name.cshtml
112112
2: punctuation.separator.key-value.cshtml
113113
3: string.quoted.double.cshtml
114114
4: punctuation.definition.string.begin.cshtml
115115
5: constant.numeric.integer.cshtml
116116
6: punctuation.definition.string.end.cshtml
117-
- match: '\b(?i:(NoStore|Shared))\s*(=)\s*((")(?i:(true|false)|[^"]*)("))'
117+
- match: \b(?i:(NoStore|Shared))\s*(=)\s*((")(?i:(true|false)|[^"]*)("))
118118
captures:
119119
1: entity.other.attribute-name.cshtml
120120
2: punctuation.separator.key-value.cshtml
121121
3: string.quoted.double.cshtml
122122
4: punctuation.definition.string.begin.cshtml
123123
5: constant.language.boolean.cshtml
124124
6: punctuation.definition.string.end.cshtml
125-
- match: '\b(?i:(Location))\s*(=)\s*((")(?i:(Any|Client|Downstream|Server|None|ServerAndClient)|[^"]*)("))'
125+
- match: \b(?i:(Location))\s*(=)\s*((")(?i:(Any|Client|Downstream|Server|None|ServerAndClient)|[^"]*)("))
126126
captures:
127127
1: entity.other.attribute-name.cshtml
128128
2: punctuation.separator.key-value.cshtml
129129
3: string.quoted.double.cshtml
130130
4: punctuation.definition.string.begin.cshtml
131131
5: meta.enum.cache-location.cshtml
132132
6: punctuation.definition.string.end.cshtml
133-
- match: '\b(?i:(CacheProfile|SqlDependency|ProviderName|VaryBy(?:Control|Custom|Header|Param|ContentEncoding)))\s*(=)\s*((")([^"]*)("))'
133+
- match: \b(?i:(CacheProfile|SqlDependency|ProviderName|VaryBy(?:Control|Custom|Header|Param|ContentEncoding)))\s*(=)\s*((")([^"]*)("))
134134
captures:
135135
1: entity.other.attribute-name.cshtml
136136
2: punctuation.separator.key-value.cshtml
@@ -142,7 +142,7 @@ contexts:
142142

143143
directive-other:
144144
# https://msdn.microsoft.com/en-us/library/xz702w3e(v=vs.100).aspx
145-
- match: '\b(Register|Assembly|PreviousPageType|MasterType)\b'
145+
- match: \b(Register|Assembly|PreviousPageType|MasterType)\b
146146
scope: constant.language.processing-directive.cshtml
147147
set:
148148
- include: directive-generic-attribute
@@ -158,7 +158,7 @@ contexts:
158158
- include: block-cs
159159

160160
block-cs:
161-
- match: '<%[=#:$]?'
161+
- match: <%[=#:$]?
162162
scope: punctuation.section.embedded.begin.cshtml
163163
embed: inside-block-cs
164164
embed_scope: source.cs.embedded.html

0 commit comments

Comments
 (0)