code_rippa 0.0.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile.lock +36 -0
  3. data/LICENSE +2 -2
  4. data/README.md +18 -1
  5. data/bin/code_rippa +15 -16
  6. data/code_rippa.gemspec +12 -10
  7. data/lib/code_rippa.rb +69 -51
  8. data/lib/code_rippa/syntax/actionscript.syntax +52 -52
  9. data/lib/code_rippa/syntax/active4d.syntax +226 -180
  10. data/lib/code_rippa/syntax/active4d_html.syntax +163 -173
  11. data/lib/code_rippa/syntax/active4d_ini.syntax +34 -27
  12. data/lib/code_rippa/syntax/active4d_library.syntax +8 -15
  13. data/lib/code_rippa/syntax/ada.syntax +19 -18
  14. data/lib/code_rippa/syntax/antlr.syntax +85 -85
  15. data/lib/code_rippa/syntax/apache.syntax +103 -109
  16. data/lib/code_rippa/syntax/applescript.syntax +244 -229
  17. data/lib/code_rippa/syntax/asp.syntax +41 -36
  18. data/lib/code_rippa/syntax/asp_vb.net.syntax +77 -72
  19. data/lib/code_rippa/syntax/bibtex.syntax +88 -90
  20. data/lib/code_rippa/syntax/blog_html.syntax +17 -29
  21. data/lib/code_rippa/syntax/blog_markdown.syntax +17 -27
  22. data/lib/code_rippa/syntax/blog_text.syntax +15 -15
  23. data/lib/code_rippa/syntax/blog_textile.syntax +15 -15
  24. data/lib/code_rippa/syntax/build.syntax +27 -27
  25. data/lib/code_rippa/syntax/bulletin_board.syntax +159 -172
  26. data/lib/code_rippa/syntax/c.syntax +31 -34
  27. data/lib/code_rippa/syntax/cake.syntax +27 -27
  28. data/lib/code_rippa/syntax/camlp4.syntax +23 -23
  29. data/lib/code_rippa/syntax/cm.syntax +19 -18
  30. data/lib/code_rippa/syntax/coffeescript.syntax +134 -181
  31. data/lib/code_rippa/syntax/coldfusion.syntax +51 -60
  32. data/lib/code_rippa/syntax/context_free.syntax +106 -106
  33. data/lib/code_rippa/syntax/cs.syntax +31 -34
  34. data/lib/code_rippa/syntax/css.syntax +112 -112
  35. data/lib/code_rippa/syntax/css_experimental.syntax +1006 -1004
  36. data/lib/code_rippa/syntax/csv.syntax +40 -44
  37. data/lib/code_rippa/syntax/d.syntax +80 -84
  38. data/lib/code_rippa/syntax/diff.syntax +46 -45
  39. data/lib/code_rippa/syntax/dokuwiki.syntax +118 -119
  40. data/lib/code_rippa/syntax/dot.syntax +26 -26
  41. data/lib/code_rippa/syntax/doxygen.syntax +26 -26
  42. data/lib/code_rippa/syntax/dylan.syntax +35 -35
  43. data/lib/code_rippa/syntax/eiffel.syntax +39 -42
  44. data/lib/code_rippa/syntax/erlang.syntax +514 -511
  45. data/lib/code_rippa/syntax/f-script.syntax +44 -44
  46. data/lib/code_rippa/syntax/fortran.syntax +80 -76
  47. data/lib/code_rippa/syntax/fxscript.syntax +78 -77
  48. data/lib/code_rippa/syntax/greasemonkey.syntax +20 -20
  49. data/lib/code_rippa/syntax/gri.syntax +47 -47
  50. data/lib/code_rippa/syntax/groovy.syntax +105 -114
  51. data/lib/code_rippa/syntax/gtd.syntax +10 -10
  52. data/lib/code_rippa/syntax/gtdalt.syntax +83 -83
  53. data/lib/code_rippa/syntax/haml.syntax +50 -50
  54. data/lib/code_rippa/syntax/haskell.syntax +47 -47
  55. data/lib/code_rippa/syntax/html-asp.syntax +15 -15
  56. data/lib/code_rippa/syntax/html_django.syntax +15 -14
  57. data/lib/code_rippa/syntax/html_for_asp.net.syntax +232 -245
  58. data/lib/code_rippa/syntax/html_mason.syntax +75 -74
  59. data/lib/code_rippa/syntax/html_rails.syntax +17 -27
  60. data/lib/code_rippa/syntax/html_tcl.syntax +13 -13
  61. data/lib/code_rippa/syntax/icalendar.syntax +15 -15
  62. data/lib/code_rippa/syntax/inform.syntax +26 -26
  63. data/lib/code_rippa/syntax/ini.syntax +30 -30
  64. data/lib/code_rippa/syntax/installer_distribution_script.syntax +49 -49
  65. data/lib/code_rippa/syntax/io.syntax +49 -46
  66. data/lib/code_rippa/syntax/java.syntax +117 -126
  67. data/lib/code_rippa/syntax/javaproperties.syntax +13 -12
  68. data/lib/code_rippa/syntax/javascript.syntax +141 -141
  69. data/lib/code_rippa/syntax/javascript_+_prototype.syntax +42 -41
  70. data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +92 -91
  71. data/lib/code_rippa/syntax/jquery_javascript.syntax +64 -64
  72. data/lib/code_rippa/syntax/json.syntax +39 -39
  73. data/lib/code_rippa/syntax/languagedefinition.syntax +373 -453
  74. data/lib/code_rippa/syntax/lexflex.syntax +136 -136
  75. data/lib/code_rippa/syntax/lighttpd.syntax +31 -31
  76. data/lib/code_rippa/syntax/lilypond.syntax +246 -337
  77. data/lib/code_rippa/syntax/lisp.syntax +32 -32
  78. data/lib/code_rippa/syntax/literate_haskell.syntax +12 -12
  79. data/lib/code_rippa/syntax/logo.syntax +13 -14
  80. data/lib/code_rippa/syntax/logtalk.syntax +81 -81
  81. data/lib/code_rippa/syntax/lua.syntax +50 -48
  82. data/lib/code_rippa/syntax/m.syntax +78 -78
  83. data/lib/code_rippa/syntax/macports_portfile.syntax +98 -97
  84. data/lib/code_rippa/syntax/makefile.syntax +19 -19
  85. data/lib/code_rippa/syntax/man.syntax +9 -9
  86. data/lib/code_rippa/syntax/mediawiki.syntax +311 -401
  87. data/lib/code_rippa/syntax/mips.syntax +34 -34
  88. data/lib/code_rippa/syntax/mod_perl.syntax +25 -31
  89. data/lib/code_rippa/syntax/modula-3.syntax +24 -24
  90. data/lib/code_rippa/syntax/moinmoin.syntax +102 -102
  91. data/lib/code_rippa/syntax/mootools.syntax +283 -300
  92. data/lib/code_rippa/syntax/movable_type.syntax +91 -90
  93. data/lib/code_rippa/syntax/multimarkdown.syntax +19 -30
  94. data/lib/code_rippa/syntax/objective-c++.syntax +6 -10
  95. data/lib/code_rippa/syntax/objective-c.syntax +134 -138
  96. data/lib/code_rippa/syntax/ocaml.syntax +455 -453
  97. data/lib/code_rippa/syntax/ocamllex.syntax +94 -93
  98. data/lib/code_rippa/syntax/ocamlyacc.syntax +98 -98
  99. data/lib/code_rippa/syntax/opengl.syntax +6 -6
  100. data/lib/code_rippa/syntax/pascal.syntax +43 -42
  101. data/lib/code_rippa/syntax/perl.syntax +612 -615
  102. data/lib/code_rippa/syntax/plain_text.syntax +17 -20
  103. data/lib/code_rippa/syntax/postscript.syntax +71 -69
  104. data/lib/code_rippa/syntax/processing.syntax +60 -60
  105. data/lib/code_rippa/syntax/prolog.syntax +17 -20
  106. data/lib/code_rippa/syntax/property_list.syntax +338 -359
  107. data/lib/code_rippa/syntax/python.syntax +487 -509
  108. data/lib/code_rippa/syntax/python_django.syntax +9 -10
  109. data/lib/code_rippa/syntax/qmake_project.syntax +67 -67
  110. data/lib/code_rippa/syntax/qt_c++.syntax +12 -15
  111. data/lib/code_rippa/syntax/quake3_config.syntax +18 -17
  112. data/lib/code_rippa/syntax/r.syntax +42 -42
  113. data/lib/code_rippa/syntax/r_console.syntax +7 -8
  114. data/lib/code_rippa/syntax/ragel.syntax +109 -115
  115. data/lib/code_rippa/syntax/rd_r_documentation.syntax +53 -53
  116. data/lib/code_rippa/syntax/regexp.syntax +26 -26
  117. data/lib/code_rippa/syntax/release_notes.syntax +46 -26
  118. data/lib/code_rippa/syntax/remind.syntax +146 -146
  119. data/lib/code_rippa/syntax/restructuredtext.syntax +132 -131
  120. data/lib/code_rippa/syntax/rez.syntax +46 -45
  121. data/lib/code_rippa/syntax/ruby.syntax +533 -601
  122. data/lib/code_rippa/syntax/ruby_experimental.syntax +82 -100
  123. data/lib/code_rippa/syntax/ruby_on_rails.syntax +56 -68
  124. data/lib/code_rippa/syntax/s5.syntax +35 -51
  125. data/lib/code_rippa/syntax/scheme.syntax +162 -260
  126. data/lib/code_rippa/syntax/scilab.syntax +18 -18
  127. data/lib/code_rippa/syntax/setext.syntax +82 -82
  128. data/lib/code_rippa/syntax/shell-unix-generic.syntax +227 -226
  129. data/lib/code_rippa/syntax/slate.syntax +91 -91
  130. data/lib/code_rippa/syntax/sql.syntax +137 -139
  131. data/lib/code_rippa/syntax/sql_rails.syntax +8 -8
  132. data/lib/code_rippa/syntax/ssh-config.syntax +17 -17
  133. data/lib/code_rippa/syntax/standard_ml.syntax +67 -69
  134. data/lib/code_rippa/syntax/strings_file.syntax +20 -23
  135. data/lib/code_rippa/syntax/subversion_commit_message.syntax +20 -20
  136. data/lib/code_rippa/syntax/sweave.syntax +45 -45
  137. data/lib/code_rippa/syntax/swig.syntax +34 -33
  138. data/lib/code_rippa/syntax/tcl.syntax +87 -86
  139. data/lib/code_rippa/syntax/template_toolkit.syntax +67 -65
  140. data/lib/code_rippa/syntax/textile.syntax +111 -145
  141. data/lib/code_rippa/syntax/tsv.syntax +31 -33
  142. data/lib/code_rippa/syntax/twiki.syntax +141 -141
  143. data/lib/code_rippa/syntax/txt2tags.syntax +39 -38
  144. data/lib/code_rippa/syntax/vectorscript.syntax +31 -31
  145. data/lib/code_rippa/syntax/xhtml_1.0.syntax +2297 -2296
  146. data/lib/code_rippa/syntax/xml.syntax +95 -95
  147. data/lib/code_rippa/syntax/xml_strict.syntax +49 -50
  148. data/lib/code_rippa/syntax/xsl.syntax +31 -31
  149. data/lib/code_rippa/syntax/yaml.syntax +86 -86
  150. data/lib/code_rippa/syntax/yaml_converter.rb +37 -0
  151. data/lib/code_rippa/syntax/yui_javascript.syntax +88 -88
  152. data/lib/code_rippa/version.rb +2 -2
  153. data/test/fixtures/hello.rb +5 -3
  154. data/test/test_private_methods.rb +40 -40
  155. data/test/test_public_methods.rb +9 -18
  156. metadata +61 -63
@@ -1,59 +1,56 @@
1
- ---
1
+ ---
2
2
  name: C#
3
- fileTypes:
3
+ fileTypes:
4
4
  - cs
5
5
  scopeName: source.c-sharp
6
6
  uuid: 1BA75B32-707C-11D9-A928-000D93589AF6
7
- foldingStartMarker: "(?x)\n\
8
- \t\t /\\*\\*(?!\\*)\n\
9
- \t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
10
- \t"
11
- patterns:
7
+ foldingStartMarker: "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t"
8
+ patterns:
12
9
  - name: comment.block.c#
13
- captures:
14
- "0":
10
+ captures:
11
+ '0':
15
12
  name: punctuation.definition.comment.c#
16
- begin: /\*
17
- end: \*/
13
+ begin: "/\\*"
14
+ end: "\\*/"
18
15
  - name: comment.line.double-slash.c#
19
- captures:
20
- "1":
16
+ captures:
17
+ '1':
21
18
  name: punctuation.definition.comment.c#
22
- match: (//).*$\n?
19
+ match: "(//).*$\\n?"
23
20
  - name: keyword.control.c#
24
- match: \b(abstract|as|base|break|case|catch|checked|const|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|goto|if|implicit|in|internal|is|lock|namespace|new|null|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|true|try|typeof|unckecked|unsafe|using|virtual|volatile|void|while)\b
21
+ match: "\\b(abstract|as|base|break|case|catch|checked|const|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|goto|if|implicit|in|internal|is|lock|namespace|new|null|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|true|try|typeof|unckecked|unsafe|using|virtual|volatile|void|while)\\b"
25
22
  - name: storage.type.c#
26
- match: \b(bool|byte|char|class|decimal|double|enum|float|int|nterface|long|object|sbyte|short|string|struct|uint|ulong|ushort)\b
23
+ match: "\\b(bool|byte|char|class|decimal|double|enum|float|int|nterface|long|object|sbyte|short|string|struct|uint|ulong|ushort)\\b"
27
24
  - name: constant.numeric.c#
28
- match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b
25
+ match: "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b"
29
26
  - name: string.quoted.double.c#
30
- endCaptures:
31
- "0":
27
+ endCaptures:
28
+ '0':
32
29
  name: punctuation.definition.string.end.c#
33
30
  begin: "\""
34
- beginCaptures:
35
- "0":
31
+ beginCaptures:
32
+ '0':
36
33
  name: punctuation.definition.string.begin.c#
37
34
  end: "\""
38
- patterns:
35
+ patterns:
39
36
  - name: constant.character.escape.c#
40
- match: \\.
37
+ match: "\\\\."
41
38
  - name: string.quoted.single.c#
42
- endCaptures:
43
- "0":
39
+ endCaptures:
40
+ '0':
44
41
  name: punctuation.definition.string.end.c#
45
42
  begin: "'"
46
- beginCaptures:
47
- "0":
43
+ beginCaptures:
44
+ '0':
48
45
  name: punctuation.definition.string.begin.c#
49
46
  end: "'"
50
- patterns:
47
+ patterns:
51
48
  - name: constant.character.escape.c#
52
- match: \\.
49
+ match: "\\\\."
53
50
  - name: meta.preprocessor.c#
54
- captures:
55
- "2":
51
+ captures:
52
+ '2':
56
53
  name: keyword.control.import.c#
57
- match: ^(#)\s*(if|else|elif|endif|define|undef|warning|error|line|region|endregion)\b
58
- foldingStopMarker: (?<!\*)\*\*/|^\s*\}
59
- keyEquivalent: ^~C
54
+ match: "^(#)\\s*(if|else|elif|endif|define|undef|warning|error|line|region|endregion)\\b"
55
+ foldingStopMarker: "(?<!\\*)\\*\\*/|^\\s*\\}"
56
+ keyEquivalent: "^~C"
@@ -1,195 +1,195 @@
1
- ---
1
+ ---
2
2
  name: CSS
3
- fileTypes:
3
+ fileTypes:
4
4
  - css
5
5
  scopeName: source.css
6
- repository:
7
- string-single:
6
+ repository:
7
+ string-single:
8
8
  name: string.quoted.single.css
9
- endCaptures:
10
- "0":
9
+ endCaptures:
10
+ '0':
11
11
  name: punctuation.definition.string.end.css
12
12
  begin: "'"
13
- beginCaptures:
14
- "0":
13
+ beginCaptures:
14
+ '0':
15
15
  name: punctuation.definition.string.begin.css
16
16
  end: "'"
17
- patterns:
17
+ patterns:
18
18
  - name: constant.character.escape.css
19
- match: \\.
20
- string-double:
19
+ match: "\\\\."
20
+ string-double:
21
21
  name: string.quoted.double.css
22
- endCaptures:
23
- "0":
22
+ endCaptures:
23
+ '0':
24
24
  name: punctuation.definition.string.end.css
25
25
  begin: "\""
26
- beginCaptures:
27
- "0":
26
+ beginCaptures:
27
+ '0':
28
28
  name: punctuation.definition.string.begin.css
29
29
  end: "\""
30
- patterns:
30
+ patterns:
31
31
  - name: constant.character.escape.css
32
- match: \\.
33
- comment-block:
32
+ match: "\\\\."
33
+ comment-block:
34
34
  name: comment.block.css
35
- captures:
36
- "0":
35
+ captures:
36
+ '0':
37
37
  name: punctuation.definition.comment.css
38
- begin: /\*
39
- end: \*/
38
+ begin: "/\\*"
39
+ end: "\\*/"
40
40
  uuid: 69AA0917-B7BB-11D9-A7E2-000D93C8BE28
41
- foldingStartMarker: /\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))
42
- patterns:
41
+ foldingStartMarker: "/\\*\\*(?!\\*)|\\{\\s*($|/\\*(?!.*?\\*/.*\\S))"
42
+ patterns:
43
43
  - name: meta.selector.css
44
- begin: ^(?=\s*[:.*#a-zA-Z])
45
- end: (?=\{)
46
- patterns:
44
+ begin: "^(?=\\s*[:.*#a-zA-Z])"
45
+ end: "(?=\\{)"
46
+ patterns:
47
47
  - include: "#comment-block"
48
48
  - name: entity.name.tag.css
49
- match: \b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
49
+ match: "\\b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\\b"
50
50
  - name: entity.other.attribute-name.class.css
51
- captures:
52
- "1":
51
+ captures:
52
+ '1':
53
53
  name: punctuation.definition.entity.css
54
- match: (\.)[a-zA-Z0-9_-]+
54
+ match: "(\\.)[a-zA-Z0-9_-]+"
55
55
  - name: entity.other.attribute-name.id.css
56
- captures:
57
- "1":
56
+ captures:
57
+ '1':
58
58
  name: punctuation.definition.entity.css
59
- match: (#)[a-zA-Z][a-zA-Z0-9_-]*
59
+ match: "(#)[a-zA-Z][a-zA-Z0-9_-]*"
60
60
  - name: entity.name.tag.wildcard.css
61
- match: \*
61
+ match: "\\*"
62
62
  - name: entity.other.attribute-name.pseudo-element.css
63
- captures:
64
- "1":
63
+ captures:
64
+ '1':
65
65
  name: punctuation.definition.entity.css
66
- match: (:+)\b(after|before|first-child|first-letter|first-line|selection)\b
66
+ match: "(:+)\\b(after|before|first-child|first-letter|first-line|selection)\\b"
67
67
  - name: entity.other.attribute-name.pseudo-class.css
68
- captures:
69
- "1":
68
+ captures:
69
+ '1':
70
70
  name: punctuation.definition.entity.css
71
- match: (:)\b(active|hover|link|visited|focus)\b
71
+ match: "(:)\\b(active|hover|link|visited|focus)\\b"
72
72
  - name: meta.attribute-selector.css
73
- captures:
74
- "6":
73
+ captures:
74
+ '6':
75
75
  name: punctuation.definition.string.begin.css
76
- "7":
76
+ '7':
77
77
  name: punctuation.definition.string.end.css
78
- "1":
78
+ '1':
79
79
  name: punctuation.definition.entity.css
80
- "2":
80
+ '2':
81
81
  name: entity.other.attribute-name.attribute.css
82
- "3":
82
+ '3':
83
83
  name: punctuation.separator.operator.css
84
- "4":
84
+ '4':
85
85
  name: string.unquoted.attribute-value.css
86
- "5":
86
+ '5':
87
87
  name: string.quoted.double.attribute-value.css
88
- match: (?i)(\[)\s*(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)(?:\s*([~|^$*]?=)\s*(?:(-?[_a-z\\[[:^ascii:]]][_a-z0-9\-\\[[:^ascii:]]]*)|((?>(['"])(?:[^\\]|\\.)*?(\6)))))?\s*(\])
88
+ match: "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])"
89
89
  - include: "#comment-block"
90
90
  - name: meta.at-rule.import.css
91
- captures:
92
- "1":
91
+ captures:
92
+ '1':
93
93
  name: keyword.control.at-rule.import.css
94
- "2":
94
+ '2':
95
95
  name: punctuation.definition.keyword.css
96
- begin: ^\s*((@)import\b)
97
- end: \s*((?=;|\}))
98
- patterns:
96
+ begin: "^\\s*((@)import\\b)"
97
+ end: "\\s*((?=;|\\}))"
98
+ patterns:
99
99
  - include: "#string-double"
100
- - endCaptures:
101
- "1":
100
+ - endCaptures:
101
+ '1':
102
102
  name: punctuation.section.function.css
103
- begin: (url)\s*(\()\s*
104
- beginCaptures:
105
- "1":
103
+ begin: "(url)\\s*(\\()\\s*"
104
+ beginCaptures:
105
+ '1':
106
106
  name: support.function.url.css
107
- "2":
107
+ '2':
108
108
  name: punctuation.section.function.css
109
- end: \s*(\))\s*
110
- patterns:
109
+ end: "\\s*(\\))\\s*"
110
+ patterns:
111
111
  - name: variable.parameter.url.css
112
112
  match: "[^'\") \\t]+"
113
113
  - include: "#string-single"
114
114
  - include: "#string-double"
115
115
  - name: meta.at-rule.media.css
116
- captures:
117
- "1":
116
+ captures:
117
+ '1':
118
118
  name: keyword.control.at-rule.media.css
119
- "2":
119
+ '2':
120
120
  name: punctuation.definition.keyword.css
121
- "3":
121
+ '3':
122
122
  name: support.constant.media.css
123
- begin: ^\s*((@)media)\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\s*,?\s*)+)\s*{
124
- end: \s*((?=;|\}))
125
- patterns:
126
- - include: $self
123
+ begin: "^\\s*((@)media)\\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\\s*,?\\s*)+)\\s*{"
124
+ end: "\\s*((?=;|\\}))"
125
+ patterns:
126
+ - include: "$self"
127
127
  - name: meta.property-list.css
128
- captures:
129
- "0":
128
+ captures:
129
+ '0':
130
130
  name: punctuation.section.property-list.css
131
- begin: \{
132
- end: \}
133
- patterns:
131
+ begin: "\\{"
132
+ end: "\\}"
133
+ patterns:
134
134
  - include: "#comment-block"
135
135
  - name: meta.property-name.css
136
- begin: (?<![-a-z])(?=[-a-z])
137
- end: $|(?![-a-z])
138
- patterns:
136
+ begin: "(?<![-a-z])(?=[-a-z])"
137
+ end: "$|(?![-a-z])"
138
+ patterns:
139
139
  - name: support.type.property-name.css
140
- match: \b(azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|-moz-border-radius|opacity|orphans|outline-color|outline-style|outline-width|outline|overflow(-[xy])?|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index)\b
140
+ match: "\\b(azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|-moz-border-radius|opacity|orphans|outline-color|outline-style|outline-width|outline|overflow(-[xy])?|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index)\\b"
141
141
  - name: meta.property-value.css
142
- endCaptures:
143
- "1":
142
+ endCaptures:
143
+ '1':
144
144
  name: punctuation.terminator.rule.css
145
- begin: (:)\s*
146
- beginCaptures:
147
- "1":
145
+ begin: "(:)\\s*"
146
+ beginCaptures:
147
+ '1':
148
148
  name: punctuation.separator.key-value.css
149
- end: \s*(;|(?=\}))
150
- patterns:
149
+ end: "\\s*(;|(?=\\}))"
150
+ patterns:
151
151
  - name: support.constant.property-value.css
152
- match: \b(absolute|all-scroll|always|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|col-resize|collapse|crosshair|dashed|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|groove|hand|help|hidden|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace)\b
152
+ match: "\\b(absolute|all-scroll|always|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|col-resize|collapse|crosshair|dashed|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|groove|hand|help|hidden|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace)\\b"
153
153
  - name: support.constant.font-name.css
154
- match: (\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\b)
154
+ match: "(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\\b)"
155
155
  - name: support.constant.color.w3c-standard-color-name.css
156
- match: \b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)\b
156
+ match: "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)\\b"
157
157
  comment: http://www.w3schools.com/css/css_colors.asp
158
158
  - name: invalid.deprecated.color.w3c-non-standard-color-name.css
159
- match: \b(seagreen|hotpink|lawngreen|darkgreen|violet|darkred|crimson|green|sandybrown|navy|magenta|darkslategray|steelblue|silver|darkgrey|mistyrose|gray|aliceblue|blueviolet|lightpink|saddlebrown|chocolate|limegreen|lightslategray|yellowgreen|pink|lightskyblue|indigo|lightblue|floralwhite|navajowhite|mediumvioletred|honeydew|aquamarine|blue|olivedrab|palegreen|slategray|lavenderblush|wheat|moccasin|mediumturquoise|mediumspringgreen|lightcoral|mintcream|tomato|lightgrey|black|darkmagenta|dimgray|darkturquoise|midnightblue|plum|indianred|coral|lightcyan|mediumslateblue|darkcyan|darkslateblue|darkkhaki|ivory|azure|khaki|powderblue|darkgoldenrod|orangered|burlywood|turquoise|royalblue|maroon|cornsilk|antiquewhite|yellow|teal|orange|grey|darkslategrey|slateblue|seashell|darkorchid|snow|lightslategrey|cyan|greenyellow|palevioletred|goldenrod|deepskyblue|lightyellow|lightseagreen|sienna|lemonchiffon|darkviolet|paleturquoise|slategrey|skyblue|purple|mediumpurple|cadetblue|fuchsia|chartreuse|darksalmon|lightgoldenrodyellow|white|springgreen|olive|forestgreen|peachpuff|peru|dimgrey|mediumseagreen|thistle|firebrick|darkgray|mediumaquamarine|darkolivegreen|mediumblue|palegoldenrod|blanchedalmond|ghostwhite|gold|gainsboro|darkseagreen|cornflowerblue|lime|lavender|beige|orchid|mediumorchid|whitesmoke|bisque|lightgray|tan|salmon|rosybrown|red|dodgerblue|brown|aqua|oldlace|deeppink|papayawhip|lightsalmon|lightsteelblue|darkorange|darkblue|linen|lightgreen)\b
160
- comment: "These colours are mostly recognised but will not validate. ref: http://www.w3schools.com/css/css_colornames.asp"
159
+ match: "\\b(seagreen|hotpink|lawngreen|darkgreen|violet|darkred|crimson|green|sandybrown|navy|magenta|darkslategray|steelblue|silver|darkgrey|mistyrose|gray|aliceblue|blueviolet|lightpink|saddlebrown|chocolate|limegreen|lightslategray|yellowgreen|pink|lightskyblue|indigo|lightblue|floralwhite|navajowhite|mediumvioletred|honeydew|aquamarine|blue|olivedrab|palegreen|slategray|lavenderblush|wheat|moccasin|mediumturquoise|mediumspringgreen|lightcoral|mintcream|tomato|lightgrey|black|darkmagenta|dimgray|darkturquoise|midnightblue|plum|indianred|coral|lightcyan|mediumslateblue|darkcyan|darkslateblue|darkkhaki|ivory|azure|khaki|powderblue|darkgoldenrod|orangered|burlywood|turquoise|royalblue|maroon|cornsilk|antiquewhite|yellow|teal|orange|grey|darkslategrey|slateblue|seashell|darkorchid|snow|lightslategrey|cyan|greenyellow|palevioletred|goldenrod|deepskyblue|lightyellow|lightseagreen|sienna|lemonchiffon|darkviolet|paleturquoise|slategrey|skyblue|purple|mediumpurple|cadetblue|fuchsia|chartreuse|darksalmon|lightgoldenrodyellow|white|springgreen|olive|forestgreen|peachpuff|peru|dimgrey|mediumseagreen|thistle|firebrick|darkgray|mediumaquamarine|darkolivegreen|mediumblue|palegoldenrod|blanchedalmond|ghostwhite|gold|gainsboro|darkseagreen|cornflowerblue|lime|lavender|beige|orchid|mediumorchid|whitesmoke|bisque|lightgray|tan|salmon|rosybrown|red|dodgerblue|brown|aqua|oldlace|deeppink|papayawhip|lightsalmon|lightsteelblue|darkorange|darkblue|linen|lightgreen)\\b"
160
+ comment: 'These colours are mostly recognised but will not validate. ref: http://www.w3schools.com/css/css_colornames.asp'
161
161
  - name: constant.numeric.css
162
- match: (-|\+)?\s*[0-9]+(\.[0-9]+)?
162
+ match: "(-|\\+)?\\s*[0-9]+(\\.[0-9]+)?"
163
163
  - name: keyword.other.unit.css
164
- match: (?<=[\d])(px|pt|cm|mm|in|em|ex|pc)\b|%
164
+ match: "(?<=[\\d])(px|pt|cm|mm|in|em|ex|pc)\\b|%"
165
165
  - name: constant.other.color.rgb-value.css
166
- captures:
167
- "1":
166
+ captures:
167
+ '1':
168
168
  name: punctuation.definition.constant.css
169
- match: (#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b
169
+ match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
170
170
  - include: "#string-double"
171
171
  - include: "#string-single"
172
- - endCaptures:
173
- "1":
172
+ - endCaptures:
173
+ '1':
174
174
  name: punctuation.section.function.css
175
- begin: (rgb|url|attr|counter|counters)\s*(\()
176
- beginCaptures:
177
- "1":
175
+ begin: "(rgb|url|attr|counter|counters)\\s*(\\()"
176
+ beginCaptures:
177
+ '1':
178
178
  name: support.function.misc.css
179
- "2":
179
+ '2':
180
180
  name: punctuation.section.function.css
181
- end: (\))
182
- patterns:
181
+ end: "(\\))"
182
+ patterns:
183
183
  - include: "#string-single"
184
184
  - include: "#string-double"
185
185
  - name: constant.other.color.rgb-value.css
186
- match: (\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\s*,\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\b)
186
+ match: "(\\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\b)"
187
187
  - name: constant.other.color.rgb-percentage.css
188
- match: \b([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%,\s*([0-9]{1,2}|100)\s*%
188
+ match: "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%"
189
189
  - name: variable.parameter.misc.css
190
190
  match: "[^'\") \\t]+"
191
191
  - name: keyword.other.important.css
192
- match: \!\s*important
193
- foldingStopMarker: (?<!\*)\*\*/|^\s*\}
194
- keyEquivalent: ^~C
195
- comment: ""
192
+ match: "\\!\\s*important"
193
+ foldingStopMarker: "(?<!\\*)\\*\\*/|^\\s*\\}"
194
+ keyEquivalent: "^~C"
195
+ comment: ''
@@ -1,313 +1,315 @@
1
- ---
1
+ ---
2
2
  name: CSS v3 beta
3
- fileTypes:
3
+ fileTypes:
4
4
  - css
5
5
  scopeName: source.css.beta
6
- repository:
7
- font-weight:
8
- captures:
9
- "2":
6
+ repository:
7
+ font-weight:
8
+ captures:
9
+ '2':
10
10
  name: support.constant.property-value.css
11
- "4":
11
+ '4':
12
12
  name: constant.numeric.css
13
- match: ((normal|bold(er)?|lighter)|(100|200|300|400|500|600|700|800|900))
14
- font-variant:
13
+ match: "((normal|bold(er)?|lighter)|(100|200|300|400|500|600|700|800|900))"
14
+ font-variant:
15
15
  name: support.constant.property-value.css
16
- match: (normal|small-caps)
17
- font-other:
16
+ match: "(normal|small-caps)"
17
+ font-other:
18
18
  name: support.constant.property-value.css
19
- match: (caption|icon|menu|message-box|small-caption|status-bar)
20
- uri:
19
+ match: "(caption|icon|menu|message-box|small-caption|status-bar)"
20
+ uri:
21
21
  name: meta.constructor.css
22
- endCaptures:
23
- "1":
22
+ endCaptures:
23
+ '1':
24
24
  name: punctuation.definition.constructor.css
25
- begin: (url)\s*(\()\s*
25
+ begin: "(url)\\s*(\\()\\s*"
26
26
  contentName: meta.constructor.argument.css
27
- beginCaptures:
28
- "1":
27
+ beginCaptures:
28
+ '1':
29
29
  name: storage.type.constructor.css
30
- "2":
30
+ '2':
31
31
  name: punctuation.definition.constructor.css
32
- end: (\))
33
- patterns:
32
+ end: "(\\))"
33
+ patterns:
34
34
  - include: "#string-single"
35
35
  - include: "#string-double"
36
- angle:
37
- captures:
38
- "1":
36
+ angle:
37
+ captures:
38
+ '1':
39
39
  name: constant.numeric.degree.css
40
- "5":
40
+ '5':
41
41
  name: constant.other.unit.css
42
- match: ([-+]?(3([1-5][0-9]|60)|[12]?([0-9]?[0-9]))(deg|rad|grad))
43
- font-adjust:
42
+ match: "([-+]?(3([1-5][0-9]|60)|[12]?([0-9]?[0-9]))(deg|rad|grad))"
43
+ font-adjust:
44
44
  name: support.constant.property-value.css
45
- match: (none)
46
- font-absolute:
45
+ match: "(none)"
46
+ font-absolute:
47
47
  name: support.constant.property-value.css
48
- match: (xx-small|x-small|small|medium|large|x-large|xx-large)\b
49
- string-single:
48
+ match: "(xx-small|x-small|small|medium|large|x-large|xx-large)\\b"
49
+ string-single:
50
50
  name: string.quoted.single.css
51
- endCaptures:
52
- "0":
51
+ endCaptures:
52
+ '0':
53
53
  name: punctuation.definition.string.end.css
54
54
  begin: "'"
55
- beginCaptures:
56
- "0":
55
+ beginCaptures:
56
+ '0':
57
57
  name: punctuation.definition.string.begin.css
58
58
  end: "'"
59
- patterns:
59
+ patterns:
60
60
  - name: constant.character.escape.css
61
- match: \\.
62
- shape:
61
+ match: "\\\\."
62
+ shape:
63
63
  name: meta.constructor.css
64
- endCaptures:
65
- "1":
64
+ endCaptures:
65
+ '1':
66
66
  name: punctuation.definition.constructor.css
67
- begin: (rect)\s*(\()
67
+ begin: "(rect)\\s*(\\()"
68
68
  contentName: meta.constructor.argument.css
69
- beginCaptures:
70
- "1":
69
+ beginCaptures:
70
+ '1':
71
71
  name: storage.type.constructor.css
72
- "2":
72
+ '2':
73
73
  name: punctuation.definition.constructor.css
74
- end: (\))
75
- patterns:
74
+ end: "(\\))"
75
+ patterns:
76
76
  - include: "#length"
77
77
  - include: "#percentage"
78
78
  - name: support.constant.property-value.css
79
79
  match: auto
80
- border-width:
80
+ border-width:
81
81
  name: support.constant.property-value.css
82
- match: (thin|thick|medium)
83
- border-style:
82
+ match: "(thin|thick|medium)"
83
+ border-style:
84
84
  name: support.constant.property-value.css
85
- match: (dashed|dotted|double|groove|hidden|inset|outset|ridge|solid|collapse|separate)
86
- string-double:
85
+ match: "(dashed|dotted|double|groove|hidden|inset|outset|ridge|solid|collapse|separate)"
86
+ string-double:
87
87
  name: string.quoted.double.css
88
- endCaptures:
89
- "0":
88
+ endCaptures:
89
+ '0':
90
90
  name: punctuation.definition.string.end.css
91
91
  begin: "\""
92
- beginCaptures:
93
- "0":
92
+ beginCaptures:
93
+ '0':
94
94
  name: punctuation.definition.string.begin.css
95
95
  end: "\""
96
- patterns:
96
+ patterns:
97
97
  - name: constant.character.escape.css
98
- match: \\.
99
- length:
100
- captures:
101
- "6":
98
+ match: "\\\\."
99
+ length:
100
+ captures:
101
+ '6':
102
102
  name: constant.numeric.css
103
- "2":
103
+ '2':
104
104
  name: constant.numeric.css
105
- "5":
105
+ '5':
106
106
  name: constant.other.unit.css
107
- match: (((-|\+)?\s*[0-9]*(\.)?[0-9]+)(px|pt|cm|mm|in|em|ex|pc)|(0))
108
- important:
107
+ match: "(((-|\\+)?\\s*[0-9]*(\\.)?[0-9]+)(px|pt|cm|mm|in|em|ex|pc)|(0))"
108
+ important:
109
109
  name: support.constant.property-value.css
110
- match: (inherit|!important)
111
- font-stretch:
110
+ match: "(inherit|!important)"
111
+ font-stretch:
112
112
  name: support.constant.property-value.css
113
- match: (normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded)
114
- font-generic:
113
+ match: "(normal|wider|narrower|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded)"
114
+ font-generic:
115
115
  name: support.constant.font-family.css
116
- match: (serif|sans-serif|cursive|fantasy|monospace)
117
- color-rgb:
116
+ match: "(serif|sans-serif|cursive|fantasy|monospace)"
117
+ color-rgb:
118
118
  name: meta.constructor.css
119
- endCaptures:
120
- "1":
119
+ endCaptures:
120
+ '1':
121
121
  name: punctuation.definition.constructor.css
122
- begin: (rgb)\s*(\()
122
+ begin: "(rgb)\\s*(\\()"
123
123
  contentName: meta.constructor.argument.css
124
- beginCaptures:
125
- "1":
124
+ beginCaptures:
125
+ '1':
126
126
  name: storage.type.constructor.css
127
- "2":
127
+ '2':
128
128
  name: punctuation.definition.constructor.css
129
- end: (\))
130
- patterns:
129
+ end: "(\\))"
130
+ patterns:
131
131
  - name: constant.numeric.css
132
132
  match: "[12]?[0-9]?[0-9]"
133
133
  - include: "#percentage"
134
- percentage:
135
- captures:
136
- "1":
134
+ percentage:
135
+ captures:
136
+ '1':
137
137
  name: constant.numeric.css
138
- "2":
138
+ '2':
139
139
  name: constant.other.unit.css
140
- match: ([0-9]+)(%)
141
- font-style:
140
+ match: "([0-9]+)(%)"
141
+ font-style:
142
142
  name: support.constant.property-value.css
143
- match: (normal|italic|oblique)
144
- color-named:
143
+ match: "(normal|italic|oblique)"
144
+ color-named:
145
145
  name: support.constant.named-color.css
146
- match: (transparent|aqua|black|blue|fuchsia|gr[ae]y|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)
147
- list-style-type:
146
+ match: "(transparent|aqua|black|blue|fuchsia|gr[ae]y|green|lime|maroon|navy|olive|purple|red|silver|teal|white|yellow)"
147
+ list-style-type:
148
148
  name: support.constant.property-value.css
149
- match: (none|decimal(-leading-zero)?|lower(-roman|-alpha|-greek|-alpha|-latin)?|upper(-roman|-alpha|-greek|-alpha|-latin)?|hebrew|armenian|georgian|cjk-ideographic|hiragana(-iroha)?|katakana(-iroha)?)
150
- font-specific:
149
+ match: "(none|decimal(-leading-zero)?|lower(-roman|-alpha|-greek|-alpha|-latin)?|upper(-roman|-alpha|-greek|-alpha|-latin)?|hebrew|armenian|georgian|cjk-ideographic|hiragana(-iroha)?|katakana(-iroha)?)"
150
+ font-specific:
151
151
  name: support.constant.font-name.css
152
- match: ((?i:arial( black)?|century|comic|courier|garamond|georgia|geneva|helvetica|impact|lucida( sans)?( grande)?( unicode)?|symbol|system|tahoma|times( new roman)?|trebuchet( ms)?|utopia|verdana|webdings|monospace))
153
- comment-block:
152
+ match: "((?i:arial( black)?|century|comic|courier|garamond|georgia|geneva|helvetica|impact|lucida(
153
+ sans)?( grande)?( unicode)?|symbol|system|tahoma|times( new roman)?|trebuchet(
154
+ ms)?|utopia|verdana|webdings|monospace))"
155
+ comment-block:
154
156
  name: comment.block.css
155
- captures:
156
- "0":
157
+ captures:
158
+ '0':
157
159
  name: punctuation.definition.comment.css
158
- begin: /\*
159
- end: \*/
160
- font-relative:
160
+ begin: "/\\*"
161
+ end: "\\*/"
162
+ font-relative:
161
163
  name: support.constant.property-value.css
162
- match: (larger|smaller)
163
- counter:
164
+ match: "(larger|smaller)"
165
+ counter:
164
166
  name: meta.constructor.css
165
- endCaptures:
166
- "1":
167
+ endCaptures:
168
+ '1':
167
169
  name: punctuation.definition.constructor.css
168
- begin: (counter)\s*(\()
170
+ begin: "(counter)\\s*(\\()"
169
171
  contentName: meta.constructor.argument.css
170
- beginCaptures:
171
- "1":
172
+ beginCaptures:
173
+ '1':
172
174
  name: storage.type.constructor.css
173
- "2":
175
+ '2':
174
176
  name: punctuation.definition.constructor.css
175
- end: (\))
176
- patterns:
177
+ end: "(\\))"
178
+ patterns:
177
179
  - include: "#list-style-type"
178
- color-hex:
180
+ color-hex:
179
181
  name: constant.other.color.rgb-value.css
180
- captures:
181
- "1":
182
+ captures:
183
+ '1':
182
184
  name: punctuation.definition.constant.css
183
- match: (#)([0-9a-fA-F]{6}|[0-9a-fA-F]{3})
184
- attr:
185
+ match: "(#)([0-9a-fA-F]{6}|[0-9a-fA-F]{3})"
186
+ attr:
185
187
  name: meta.constructor.css
186
- endCaptures:
187
- "1":
188
+ endCaptures:
189
+ '1':
188
190
  name: punctuation.definition.constructor.css
189
- begin: (attr)\s*(\()
191
+ begin: "(attr)\\s*(\\()"
190
192
  contentName: meta.constructor.argument.css
191
- beginCaptures:
192
- "1":
193
+ beginCaptures:
194
+ '1':
193
195
  name: storage.type.constructor.css
194
- "2":
196
+ '2':
195
197
  name: punctuation.definition.constructor.css
196
- end: (\))
197
- patterns:
198
+ end: "(\\))"
199
+ patterns:
198
200
  - name: variable.parameter.css
199
201
  match: "[^'\") \\t]+"
200
202
  uuid: 5A0E986A-BE73-11D9-8214-000A957B2E42
201
- foldingStartMarker: (/\*|\{|\()
202
- patterns:
203
+ foldingStartMarker: "(/\\*|\\{|\\()"
204
+ patterns:
203
205
  - name: meta.selector.css
204
- begin: (^)?(?=\s*[.*#a-zA-Z])
205
- end: (/\*|(?=\{))
206
- patterns:
206
+ begin: "(^)?(?=\\s*[.*#a-zA-Z])"
207
+ end: "(/\\*|(?=\\{))"
208
+ patterns:
207
209
  - name: entity.name.tag.css
208
- match: \b(?i:a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|embed|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
210
+ match: "\\b(?i:a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|embed|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\\b"
209
211
  - name: meta.attribute-match.css
210
- captures:
211
- "1":
212
+ captures:
213
+ '1':
212
214
  name: punctuation.definition.attribute-name.css
213
- "2":
215
+ '2':
214
216
  name: entity.other.attribute-name.css
215
- "3":
217
+ '3':
216
218
  name: keyword.operator.css
217
- "4":
219
+ '4':
218
220
  name: string.other.attribute-value.css
219
221
  comment: according to CSS spec, this is an identifier or string
220
- "5":
222
+ '5':
221
223
  name: punctuation.definition.attribute-name.css
222
- match: (\[)(.*?)(?:([\|~]?=)([^\]]*))?(\])
224
+ match: "(\\[)(.*?)(?:([\\|~]?=)([^\\]]*))?(\\])"
223
225
  - name: entity.other.attribute-name.class.css
224
- captures:
225
- "1":
226
+ captures:
227
+ '1':
226
228
  name: punctuation.definition.entity.css
227
- match: (\.)[a-zA-Z0-9_-]+
229
+ match: "(\\.)[a-zA-Z0-9_-]+"
228
230
  - name: entity.other.attribute-name.id.css
229
- captures:
230
- "1":
231
+ captures:
232
+ '1':
231
233
  name: punctuation.definition.entity.css
232
- match: (#)[a-zA-Z0-9_-]+
234
+ match: "(#)[a-zA-Z0-9_-]+"
233
235
  - name: entity.other.attribute-name.universal.css
234
- match: \*
236
+ match: "\\*"
235
237
  - name: entity.other.attribute-name.tag.pseudo-class.css
236
- captures:
237
- "1":
238
+ captures:
239
+ '1':
238
240
  name: punctuation.definition.entity.css
239
- match: (:)(active|after|before|first-(letter|line)|focus|hover|link|visited)
241
+ match: "(:)(active|after|before|first-(letter|line)|focus|hover|link|visited)"
240
242
  - include: "#comment-block"
241
243
  - name: invalid.illegal.bad-comma.css
242
244
  match: "[^} \\t{/@][^{,]*?(,)\\s*?(?=\\{)"
243
245
  - name: meta.preprocessor.at-rule.import.css
244
- captures:
245
- "2":
246
+ captures:
247
+ '2':
246
248
  name: keyword.control.at-rule.import.css
247
- "3":
249
+ '3':
248
250
  name: punctuation.definition.keyword.css
249
- begin: (^\s*)?((@)import)
250
- end: ((?=;|\}))
251
- patterns:
251
+ begin: "(^\\s*)?((@)import)"
252
+ end: "((?=;|\\}))"
253
+ patterns:
252
254
  - include: "#string-double"
253
255
  - include: "#uri"
254
256
  - name: meta.preprocessor.at-rule.media.css
255
- captures:
256
- "1":
257
+ captures:
258
+ '1':
257
259
  name: keyword.control.at-rule.media.css
258
- "2":
260
+ '2':
259
261
  name: punctuation.definition.keyword.css
260
- "3":
262
+ '3':
261
263
  name: support.constant.media.css
262
- begin: ^\s*((@)media)\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\s*,?\s*)+)\s*{
263
- end: \s*((?=;|\}))
264
- patterns:
264
+ begin: "^\\s*((@)media)\\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\\s*,?\\s*)+)\\s*{"
265
+ end: "\\s*((?=;|\\}))"
266
+ patterns:
265
267
  - include: source.css
266
268
  - name: meta.scope.property-list.css
267
- captures:
268
- "0":
269
+ captures:
270
+ '0':
269
271
  name: punctuation.section.property-list.css
270
- begin: \{
271
- end: \}
272
- patterns:
272
+ begin: "\\{"
273
+ end: "\\}"
274
+ patterns:
273
275
  - include: "#comment-block"
274
276
  - name: meta.property.azimuth.css
275
- captures:
276
- "1":
277
+ captures:
278
+ '1':
277
279
  name: support.type.property-name.css
278
- begin: (azimuth)
279
- end: (?=[;}])
280
- patterns:
280
+ begin: "(azimuth)"
281
+ end: "(?=[;}])"
282
+ patterns:
281
283
  - name: meta.property-value.css
282
284
  begin: ":"
283
- beginCaptures:
284
- "0":
285
+ beginCaptures:
286
+ '0':
285
287
  name: punctuation.separator.key-value.css
286
- end: (?=[;}])
287
- patterns:
288
+ end: "(?=[;}])"
289
+ patterns:
288
290
  - name: support.constant.property-value.css
289
- match: ((left|right)(-side|wards)?|(center|far)(-left|-right)?|behind)
291
+ match: "((left|right)(-side|wards)?|(center|far)(-left|-right)?|behind)"
290
292
  - include: "#comment-block"
291
293
  - include: "#angle"
292
294
  - include: "#important"
293
295
  - name: meta.property-group.background.css
294
- begin: (?=background)
295
- end: (?=[;}])
296
- patterns:
296
+ begin: "(?=background)"
297
+ end: "(?=[;}])"
298
+ patterns:
297
299
  - name: meta.property.background.css
298
- captures:
299
- "1":
300
+ captures:
301
+ '1':
300
302
  name: support.type.property-name.css
301
- begin: (background)(?=[:\s])
302
- end: (?=[;}])
303
- patterns:
303
+ begin: "(background)(?=[:\\s])"
304
+ end: "(?=[;}])"
305
+ patterns:
304
306
  - name: meta.property-value.css
305
307
  begin: ":"
306
- beginCaptures:
307
- "0":
308
+ beginCaptures:
309
+ '0':
308
310
  name: punctuation.separator.key-value.css
309
- end: (?=[;}])
310
- patterns:
311
+ end: "(?=[;}])"
312
+ patterns:
311
313
  - include: "#color-hex"
312
314
  - include: "#color-rgb"
313
315
  - include: "#color-named"
@@ -317,125 +319,125 @@ patterns:
317
319
  - include: "#percentage"
318
320
  - include: "#uri"
319
321
  - name: support.constant.property-value.css
320
- match: ((no-repeat)|repeat(-x|-y)?)
322
+ match: "((no-repeat)|repeat(-x|-y)?)"
321
323
  - name: support.constant.property-value.css
322
- match: (none)
324
+ match: "(none)"
323
325
  - name: support.constant.property-value.css
324
- match: (top|left|right|bottom|center)
326
+ match: "(top|left|right|bottom|center)"
325
327
  - name: support.constant.property-value.css
326
- match: (fixed|scroll)
328
+ match: "(fixed|scroll)"
327
329
  - name: meta.property.background-attachment.css
328
- captures:
329
- "1":
330
+ captures:
331
+ '1':
330
332
  name: support.type.property-name.css
331
- begin: (background-attachment)
332
- end: (?=[;}])
333
- patterns:
333
+ begin: "(background-attachment)"
334
+ end: "(?=[;}])"
335
+ patterns:
334
336
  - name: meta.property-value.css
335
337
  begin: ":"
336
- beginCaptures:
337
- "0":
338
+ beginCaptures:
339
+ '0':
338
340
  name: punctuation.separator.key-value.css
339
- end: (?=[;}])
340
- patterns:
341
+ end: "(?=[;}])"
342
+ patterns:
341
343
  - include: "#comment-block"
342
344
  - include: "#important"
343
345
  - name: support.constant.property-value.css
344
- match: (scroll|fixed)
346
+ match: "(scroll|fixed)"
345
347
  - name: meta.property.background-color.css
346
- captures:
347
- "1":
348
+ captures:
349
+ '1':
348
350
  name: support.type.property-name.css
349
- begin: (background-color)
350
- end: (?=[;}])
351
- patterns:
351
+ begin: "(background-color)"
352
+ end: "(?=[;}])"
353
+ patterns:
352
354
  - name: meta.property-value.css
353
355
  begin: ":"
354
- beginCaptures:
355
- "0":
356
+ beginCaptures:
357
+ '0':
356
358
  name: punctuation.separator.key-value.css
357
- end: (?=[;}])
358
- patterns:
359
+ end: "(?=[;}])"
360
+ patterns:
359
361
  - include: "#color-hex"
360
362
  - include: "#color-rgb"
361
363
  - include: "#color-named"
362
364
  - include: "#comment-block"
363
365
  - include: "#important"
364
366
  - name: meta.property.background-image.css
365
- captures:
366
- "1":
367
+ captures:
368
+ '1':
367
369
  name: support.type.property-name.css
368
- begin: (background-image)
369
- end: (?=[;}])
370
- patterns:
370
+ begin: "(background-image)"
371
+ end: "(?=[;}])"
372
+ patterns:
371
373
  - name: meta.property-value.css
372
374
  begin: ":"
373
- beginCaptures:
374
- "0":
375
+ beginCaptures:
376
+ '0':
375
377
  name: punctuation.separator.key-value.css
376
- end: (?=[;}])
377
- patterns:
378
+ end: "(?=[;}])"
379
+ patterns:
378
380
  - include: "#comment-block"
379
381
  - include: "#important"
380
382
  - include: "#uri"
381
383
  - name: support.constant.property-value.css
382
- match: (none)
384
+ match: "(none)"
383
385
  - name: meta.property.background-position.css
384
- captures:
385
- "1":
386
+ captures:
387
+ '1':
386
388
  name: support.type.property-name.css
387
- begin: (background-position)
388
- end: (?=[;}])
389
- patterns:
389
+ begin: "(background-position)"
390
+ end: "(?=[;}])"
391
+ patterns:
390
392
  - name: meta.property-value.css
391
393
  begin: ":"
392
- beginCaptures:
393
- "0":
394
+ beginCaptures:
395
+ '0':
394
396
  name: punctuation.separator.key-value.css
395
- end: (?=[;}])
396
- patterns:
397
+ end: "(?=[;}])"
398
+ patterns:
397
399
  - include: "#comment-block"
398
400
  - include: "#important"
399
401
  - include: "#length"
400
402
  - include: "#percentage"
401
403
  - name: support.constant.property-value.css
402
- match: (top|left|right|bottom|center)
404
+ match: "(top|left|right|bottom|center)"
403
405
  - name: meta.property.background-repeat.css
404
- captures:
405
- "1":
406
+ captures:
407
+ '1':
406
408
  name: support.type.property-name.css
407
- begin: (background-repeat)
408
- end: (?=[;}])
409
- patterns:
409
+ begin: "(background-repeat)"
410
+ end: "(?=[;}])"
411
+ patterns:
410
412
  - name: meta.property-value.css
411
413
  begin: ":"
412
- beginCaptures:
413
- "0":
414
+ beginCaptures:
415
+ '0':
414
416
  name: punctuation.separator.key-value.css
415
- end: (?=[;}])
416
- patterns:
417
+ end: "(?=[;}])"
418
+ patterns:
417
419
  - include: "#comment-block"
418
420
  - include: "#important"
419
421
  - name: support.constant.property-value.css
420
- match: ((no-repeat)|repeat(-x|-y)?)
422
+ match: "((no-repeat)|repeat(-x|-y)?)"
421
423
  - name: meta.property-group.border.css
422
- begin: (?=border)
423
- end: (?=[;}])
424
- patterns:
424
+ begin: "(?=border)"
425
+ end: "(?=[;}])"
426
+ patterns:
425
427
  - name: meta.property.border.css
426
- captures:
427
- "1":
428
+ captures:
429
+ '1':
428
430
  name: support.type.property-name.css
429
- begin: (border(-bottom|-left|-right|-top)?)(?=[:\s])
430
- end: (?=[;}])
431
- patterns:
431
+ begin: "(border(-bottom|-left|-right|-top)?)(?=[:\\s])"
432
+ end: "(?=[;}])"
433
+ patterns:
432
434
  - name: meta.property-value.css
433
435
  begin: ":"
434
- beginCaptures:
435
- "0":
436
+ beginCaptures:
437
+ '0':
436
438
  name: punctuation.separator.key-value.css
437
- end: (?=[;}])
438
- patterns:
439
+ end: "(?=[;}])"
440
+ patterns:
439
441
  - include: "#color-hex"
440
442
  - include: "#color-rgb"
441
443
  - include: "#color-named"
@@ -447,418 +449,418 @@ patterns:
447
449
  - name: support.constant.property-value.css
448
450
  match: none
449
451
  - name: meta.property.border-collapse.css
450
- captures:
451
- "1":
452
+ captures:
453
+ '1':
452
454
  name: support.type.property-name.css
453
- begin: (border-collapse)
454
- end: (?=[;}])
455
- patterns:
455
+ begin: "(border-collapse)"
456
+ end: "(?=[;}])"
457
+ patterns:
456
458
  - name: meta.property-value.css
457
459
  begin: ":"
458
- beginCaptures:
459
- "0":
460
+ beginCaptures:
461
+ '0':
460
462
  name: punctuation.separator.key-value.css
461
- end: (?=[;}])
462
- patterns:
463
+ end: "(?=[;}])"
464
+ patterns:
463
465
  - include: "#comment-block"
464
466
  - include: "#important"
465
467
  - name: support.constant.property-value.css
466
- match: (collapse|separate)
468
+ match: "(collapse|separate)"
467
469
  - name: meta.property.border-spacing.css
468
- captures:
469
- "1":
470
+ captures:
471
+ '1':
470
472
  name: support.type.property-name.css
471
- begin: (border-spacing)
472
- end: (?=[;}])
473
- patterns:
473
+ begin: "(border-spacing)"
474
+ end: "(?=[;}])"
475
+ patterns:
474
476
  - name: meta.property-value.css
475
477
  begin: ":"
476
- beginCaptures:
477
- "0":
478
+ beginCaptures:
479
+ '0':
478
480
  name: punctuation.separator.key-value.css
479
- end: (?=[;}])
480
- patterns:
481
+ end: "(?=[;}])"
482
+ patterns:
481
483
  - include: "#length"
482
484
  - include: "#comment-block"
483
485
  - include: "#important"
484
486
  - name: meta.property.border-color.css
485
- captures:
486
- "1":
487
+ captures:
488
+ '1':
487
489
  name: support.type.property-name.css
488
- begin: (border((-bottom|-left|-right|-top)?(-color)))
489
- end: (?=[;}])
490
- patterns:
490
+ begin: "(border((-bottom|-left|-right|-top)?(-color)))"
491
+ end: "(?=[;}])"
492
+ patterns:
491
493
  - name: meta.property-value.css
492
494
  begin: ":"
493
- beginCaptures:
494
- "0":
495
+ beginCaptures:
496
+ '0':
495
497
  name: punctuation.separator.key-value.css
496
- end: (?=[;}])
497
- patterns:
498
+ end: "(?=[;}])"
499
+ patterns:
498
500
  - include: "#color-hex"
499
501
  - include: "#color-rgb"
500
502
  - include: "#color-named"
501
503
  - include: "#comment-block"
502
504
  - include: "#important"
503
505
  - name: meta.property.border-style.css
504
- captures:
505
- "1":
506
+ captures:
507
+ '1':
506
508
  name: support.type.property-name.css
507
- begin: (border((-bottom|-left|-right|-top)?(-style)))
508
- end: (?=[;}])
509
- patterns:
509
+ begin: "(border((-bottom|-left|-right|-top)?(-style)))"
510
+ end: "(?=[;}])"
511
+ patterns:
510
512
  - name: meta.property-value.css
511
513
  begin: ":"
512
- beginCaptures:
513
- "0":
514
+ beginCaptures:
515
+ '0':
514
516
  name: punctuation.separator.key-value.css
515
- end: (?=[;}])
516
- patterns:
517
+ end: "(?=[;}])"
518
+ patterns:
517
519
  - include: "#border-style"
518
520
  - include: "#comment-block"
519
521
  - include: "#important"
520
522
  - name: meta.property.border-width.css
521
- captures:
522
- "1":
523
+ captures:
524
+ '1':
523
525
  name: support.type.property-name.css
524
- begin: (border((-bottom|-left|-right|-top)?(-width)))
525
- end: (?=[;}])
526
- patterns:
526
+ begin: "(border((-bottom|-left|-right|-top)?(-width)))"
527
+ end: "(?=[;}])"
528
+ patterns:
527
529
  - name: meta.property-value.css
528
530
  begin: ":"
529
- beginCaptures:
530
- "0":
531
+ beginCaptures:
532
+ '0':
531
533
  name: punctuation.separator.key-value.css
532
- end: (?=[;}])
533
- patterns:
534
+ end: "(?=[;}])"
535
+ patterns:
534
536
  - include: "#length"
535
537
  - include: "#border-width"
536
538
  - include: "#comment-block"
537
539
  - include: "#important"
538
540
  - name: meta.property.caption-side.css
539
- captures:
540
- "1":
541
+ captures:
542
+ '1':
541
543
  name: support.type.property-name.css
542
- begin: (caption-side)
543
- end: (?=[;}])
544
- patterns:
544
+ begin: "(caption-side)"
545
+ end: "(?=[;}])"
546
+ patterns:
545
547
  - name: meta.property-value.css
546
548
  begin: ":"
547
- beginCaptures:
548
- "0":
549
+ beginCaptures:
550
+ '0':
549
551
  name: punctuation.separator.key-value.css
550
- end: (?=[;}])
551
- patterns:
552
+ end: "(?=[;}])"
553
+ patterns:
552
554
  - name: support.constant.property-value.css
553
- match: (top|bottom|left|right)
555
+ match: "(top|bottom|left|right)"
554
556
  - name: meta.property.clear.css
555
- captures:
556
- "1":
557
+ captures:
558
+ '1':
557
559
  name: support.type.property-name.css
558
- begin: (clear)
559
- end: (?=[;}])
560
- patterns:
560
+ begin: "(clear)"
561
+ end: "(?=[;}])"
562
+ patterns:
561
563
  - name: meta.property-value.css
562
564
  begin: ":"
563
- beginCaptures:
564
- "0":
565
+ beginCaptures:
566
+ '0':
565
567
  name: punctuation.separator.key-value.css
566
- end: (?=[;}])
567
- patterns:
568
+ end: "(?=[;}])"
569
+ patterns:
568
570
  - name: support.constant.property-value.css
569
- match: (left|right|both|none)
571
+ match: "(left|right|both|none)"
570
572
  - include: "#comment-block"
571
573
  - include: "#important"
572
574
  - name: meta.property.clip.css
573
- captures:
574
- "1":
575
+ captures:
576
+ '1':
575
577
  name: support.type.property-name.css
576
- begin: (clip)
577
- end: (?=[;}])
578
- patterns:
578
+ begin: "(clip)"
579
+ end: "(?=[;}])"
580
+ patterns:
579
581
  - name: meta.property-value.css
580
582
  begin: ":"
581
- beginCaptures:
582
- "0":
583
+ beginCaptures:
584
+ '0':
583
585
  name: punctuation.separator.key-value.css
584
- end: (?=[;}])
585
- patterns:
586
+ end: "(?=[;}])"
587
+ patterns:
586
588
  - name: support.constant.property-value.css
587
589
  match: auto
588
590
  - include: "#shape"
589
591
  - include: "#comment-block"
590
592
  - include: "#important"
591
593
  - name: meta.property.color.css
592
- captures:
593
- "1":
594
+ captures:
595
+ '1':
594
596
  name: support.type.property-name.css
595
- begin: (color)
596
- end: (?=[;}])
597
- patterns:
597
+ begin: "(color)"
598
+ end: "(?=[;}])"
599
+ patterns:
598
600
  - name: meta.property-value.css
599
601
  begin: ":"
600
- beginCaptures:
601
- "0":
602
+ beginCaptures:
603
+ '0':
602
604
  name: punctuation.separator.key-value.css
603
- end: (?=[;}])
604
- patterns:
605
+ end: "(?=[;}])"
606
+ patterns:
605
607
  - include: "#color-hex"
606
608
  - include: "#color-rgb"
607
609
  - include: "#color-named"
608
610
  - include: "#comment-block"
609
611
  - include: "#important"
610
612
  - name: meta.property.content.css
611
- captures:
612
- "1":
613
+ captures:
614
+ '1':
613
615
  name: support.type.property-name.css
614
- begin: (content)
615
- end: (?=[;}])
616
- patterns:
616
+ begin: "(content)"
617
+ end: "(?=[;}])"
618
+ patterns:
617
619
  - name: meta.property-value.css
618
620
  begin: ":"
619
- beginCaptures:
620
- "0":
621
+ beginCaptures:
622
+ '0':
621
623
  name: punctuation.separator.key-value.css
622
- end: (?=[;}])
623
- patterns:
624
+ end: "(?=[;}])"
625
+ patterns:
624
626
  - include: "#counter"
625
627
  - include: "#string-double"
626
628
  - include: "#string-single"
627
629
  - include: "#uri"
628
630
  - include: "#attr"
629
631
  - name: support.constant.property-value.css
630
- match: (open-quote|close-quote|no-open-quote|no-close-quote)
632
+ match: "(open-quote|close-quote|no-open-quote|no-close-quote)"
631
633
  - include: "#comment-block"
632
634
  - include: "#important"
633
635
  - name: meta.property-group.counter.css
634
- begin: (?=counter)
635
- end: (?=[;}])
636
- patterns:
636
+ begin: "(?=counter)"
637
+ end: "(?=[;}])"
638
+ patterns:
637
639
  - name: meta.property.counter-increment.css
638
- captures:
639
- "1":
640
+ captures:
641
+ '1':
640
642
  name: support.type.property-name.css
641
- begin: (counter-increment)
642
- end: (?=[;}])
643
- patterns:
643
+ begin: "(counter-increment)"
644
+ end: "(?=[;}])"
645
+ patterns:
644
646
  - name: meta.property-value.css
645
647
  begin: ":"
646
- beginCaptures:
647
- "0":
648
+ beginCaptures:
649
+ '0':
648
650
  name: punctuation.separator.key-value.css
649
- end: (?=[;}])
650
- patterns:
651
+ end: "(?=[;}])"
652
+ patterns:
651
653
  - include: "#comment-block"
652
654
  - include: "#important"
653
655
  - name: support.constant.property-value.css
654
- match: (none)
656
+ match: "(none)"
655
657
  - name: meta.property.counter-reset.css
656
- captures:
657
- "1":
658
+ captures:
659
+ '1':
658
660
  name: support.type.property-name.css
659
- begin: (counter-reset)
660
- end: (?=[;}])
661
- patterns:
661
+ begin: "(counter-reset)"
662
+ end: "(?=[;}])"
663
+ patterns:
662
664
  - name: meta.property-value.css
663
665
  begin: ":"
664
- beginCaptures:
665
- "0":
666
+ beginCaptures:
667
+ '0':
666
668
  name: punctuation.separator.key-value.css
667
- end: (?=[;}])
668
- patterns:
669
+ end: "(?=[;}])"
670
+ patterns:
669
671
  - include: "#comment-block"
670
672
  - include: "#important"
671
673
  - name: support.constant.property-value.css
672
- match: (none)
674
+ match: "(none)"
673
675
  - name: meta.property-group.cue.css
674
- begin: (?=cue)
675
- end: (?=[;}])
676
- patterns:
676
+ begin: "(?=cue)"
677
+ end: "(?=[;}])"
678
+ patterns:
677
679
  - name: meta.property.cue.css
678
- captures:
679
- "1":
680
+ captures:
681
+ '1':
680
682
  name: support.type.property-name.css
681
- begin: (cue[:|\s])
682
- end: (?=[;}])
683
- patterns:
683
+ begin: "(cue[:|\\s])"
684
+ end: "(?=[;}])"
685
+ patterns:
684
686
  - name: meta.property-value.css
685
687
  begin: ":"
686
- beginCaptures:
687
- "0":
688
+ beginCaptures:
689
+ '0':
688
690
  name: punctuation.separator.key-value.css
689
- end: (?=[;}])
690
- patterns:
691
+ end: "(?=[;}])"
692
+ patterns:
691
693
  - include: "#comment-block"
692
694
  - include: "#important"
693
695
  - include: "#uri"
694
696
  - name: support.constant.property-value.css
695
- match: (none)
697
+ match: "(none)"
696
698
  - name: meta.property.cue-after.css
697
- captures:
698
- "1":
699
+ captures:
700
+ '1':
699
701
  name: support.type.property-name.css
700
- begin: (cue-after)
701
- end: (?=[;}])
702
- patterns:
702
+ begin: "(cue-after)"
703
+ end: "(?=[;}])"
704
+ patterns:
703
705
  - name: meta.property-value.css
704
706
  begin: ":"
705
- beginCaptures:
706
- "0":
707
+ beginCaptures:
708
+ '0':
707
709
  name: punctuation.separator.key-value.css
708
- end: (?=[;}])
709
- patterns:
710
+ end: "(?=[;}])"
711
+ patterns:
710
712
  - include: "#comment-block"
711
713
  - include: "#important"
712
714
  - include: "#uri"
713
715
  - name: support.constant.property-value.css
714
- match: (none)
716
+ match: "(none)"
715
717
  - name: meta.property.cue-before.css
716
- captures:
717
- "1":
718
+ captures:
719
+ '1':
718
720
  name: support.type.property-name.css
719
- begin: (cue-before)
720
- end: (?=[;}])
721
- patterns:
721
+ begin: "(cue-before)"
722
+ end: "(?=[;}])"
723
+ patterns:
722
724
  - name: meta.property-value.css
723
725
  begin: ":"
724
- beginCaptures:
725
- "0":
726
+ beginCaptures:
727
+ '0':
726
728
  name: punctuation.separator.key-value.css
727
- end: (?=[;}])
728
- patterns:
729
+ end: "(?=[;}])"
730
+ patterns:
729
731
  - include: "#comment-block"
730
732
  - include: "#important"
731
733
  - include: "#uri"
732
734
  - name: support.constant.property-value.css
733
- match: (none)
735
+ match: "(none)"
734
736
  - name: meta.property.cursor.css
735
- captures:
736
- "1":
737
+ captures:
738
+ '1':
737
739
  name: support.type.property-name.css
738
- begin: (cursor)
739
- end: (?=[;}])
740
- patterns:
740
+ begin: "(cursor)"
741
+ end: "(?=[;}])"
742
+ patterns:
741
743
  - name: meta.property-value.css
742
744
  begin: ":"
743
- beginCaptures:
744
- "0":
745
+ beginCaptures:
746
+ '0':
745
747
  name: punctuation.separator.key-value.css
746
- end: (?=[;}])
747
- patterns:
748
+ end: "(?=[;}])"
749
+ patterns:
748
750
  - include: "#comment-block"
749
751
  - include: "#important"
750
752
  - include: "#uri"
751
753
  - name: support.constant.property-value.css
752
- match: (auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize|text|wait|help)
754
+ match: "(auto|crosshair|default|pointer|move|e-resize|ne-resize|nw-resize|n-resize|se-resize|sw-resize|s-resize|w-resize|text|wait|help)"
753
755
  - name: meta.property.direction.css
754
- captures:
755
- "1":
756
+ captures:
757
+ '1':
756
758
  name: support.type.property-name.css
757
- begin: (direction)
758
- end: (?=[;}])
759
- patterns:
759
+ begin: "(direction)"
760
+ end: "(?=[;}])"
761
+ patterns:
760
762
  - name: meta.property-value.css
761
763
  begin: ":"
762
- beginCaptures:
763
- "0":
764
+ beginCaptures:
765
+ '0':
764
766
  name: punctuation.separator.key-value.css
765
- end: (?=[;}])
766
- patterns:
767
+ end: "(?=[;}])"
768
+ patterns:
767
769
  - name: support.constant.property-value.css
768
- match: (ltr|rtl)
770
+ match: "(ltr|rtl)"
769
771
  - include: "#comment-block"
770
772
  - include: "#important"
771
773
  - name: meta.property.display.css
772
- captures:
773
- "1":
774
+ captures:
775
+ '1':
774
776
  name: support.type.property-name.css
775
- begin: (display)
776
- end: (?=[;}])
777
- patterns:
777
+ begin: "(display)"
778
+ end: "(?=[;}])"
779
+ patterns:
778
780
  - name: meta.property-value.css
779
781
  begin: ":"
780
- beginCaptures:
781
- "0":
782
+ beginCaptures:
783
+ '0':
782
784
  name: punctuation.separator.key-value.css
783
- end: (?=[;}])
784
- patterns:
785
+ end: "(?=[;}])"
786
+ patterns:
785
787
  - name: support.constant.property-value.css
786
- match: (block|list-item|run-in|compact|marker|inline(-table|-block)?|table(((-row|-header|-footer|-column)-group)|-column|-row|-cell|-caption)?|none)
788
+ match: "(block|list-item|run-in|compact|marker|inline(-table|-block)?|table(((-row|-header|-footer|-column)-group)|-column|-row|-cell|-caption)?|none)"
787
789
  - include: "#comment-block"
788
790
  - include: "#important"
789
791
  - name: meta.property.elevation.css
790
- captures:
791
- "1":
792
+ captures:
793
+ '1':
792
794
  name: support.type.property-name.css
793
- begin: (elevation)
794
- end: (?=[;}])
795
- patterns:
795
+ begin: "(elevation)"
796
+ end: "(?=[;}])"
797
+ patterns:
796
798
  - name: meta.property-value.css
797
799
  begin: ":"
798
- beginCaptures:
799
- "0":
800
+ beginCaptures:
801
+ '0':
800
802
  name: punctuation.separator.key-value.css
801
- end: (?=[;}])
802
- patterns:
803
+ end: "(?=[;}])"
804
+ patterns:
803
805
  - name: support.constant.property-value.css
804
- match: (below|level|above|higher|lower)
806
+ match: "(below|level|above|higher|lower)"
805
807
  - include: "#comment-block"
806
808
  - include: "#important"
807
809
  - include: "#angle"
808
810
  - name: meta.property.empty-cells.css
809
- captures:
810
- "1":
811
+ captures:
812
+ '1':
811
813
  name: support.type.property-name.css
812
- begin: (empty-cells)
813
- end: (?=[;}])
814
- patterns:
814
+ begin: "(empty-cells)"
815
+ end: "(?=[;}])"
816
+ patterns:
815
817
  - name: meta.property-value.css
816
818
  begin: ":"
817
- beginCaptures:
818
- "0":
819
+ beginCaptures:
820
+ '0':
819
821
  name: punctuation.separator.key-value.css
820
- end: (?=[;}])
821
- patterns:
822
+ end: "(?=[;}])"
823
+ patterns:
822
824
  - name: support.constant.property-value.css
823
- match: (show|hide)
825
+ match: "(show|hide)"
824
826
  - include: "#comment-block"
825
827
  - include: "#important"
826
828
  - name: meta.property.float.css
827
- captures:
828
- "1":
829
+ captures:
830
+ '1':
829
831
  name: support.type.property-name.css
830
- begin: (float)
831
- end: (?=[;}])
832
- patterns:
832
+ begin: "(float)"
833
+ end: "(?=[;}])"
834
+ patterns:
833
835
  - name: meta.property-value.css
834
836
  begin: ":"
835
- beginCaptures:
836
- "0":
837
+ beginCaptures:
838
+ '0':
837
839
  name: punctuation.separator.key-value.css
838
- end: (?=[;}])
839
- patterns:
840
+ end: "(?=[;}])"
841
+ patterns:
840
842
  - name: support.constant.property-value.css
841
- match: (none|left|right)
843
+ match: "(none|left|right)"
842
844
  - include: "#comment-block"
843
845
  - include: "#important"
844
846
  - name: meta.property-group.font.css
845
- begin: (?=font)
846
- end: (?=[;}])
847
- patterns:
847
+ begin: "(?=font)"
848
+ end: "(?=[;}])"
849
+ patterns:
848
850
  - name: meta.property.font.css
849
- captures:
850
- "1":
851
+ captures:
852
+ '1':
851
853
  name: support.type.property-name.css
852
- begin: (font)(?=[:\s])
853
- end: (?=[;}])
854
- patterns:
854
+ begin: "(font)(?=[:\\s])"
855
+ end: "(?=[;}])"
856
+ patterns:
855
857
  - name: meta.property-value.css
856
858
  begin: ":"
857
- beginCaptures:
858
- "0":
859
+ beginCaptures:
860
+ '0':
859
861
  name: punctuation.separator.key-value.css
860
- end: (?=[;}])
861
- patterns:
862
+ end: "(?=[;}])"
863
+ patterns:
862
864
  - include: "#comment-block"
863
865
  - include: "#important"
864
866
  - include: "#length"
@@ -876,19 +878,19 @@ patterns:
876
878
  - include: "#font-relative"
877
879
  - include: "#font-adjust"
878
880
  - name: meta.property.font-family.css
879
- captures:
880
- "1":
881
+ captures:
882
+ '1':
881
883
  name: support.type.property-name.css
882
- begin: (font-family)
883
- end: (?=[;}])
884
- patterns:
884
+ begin: "(font-family)"
885
+ end: "(?=[;}])"
886
+ patterns:
885
887
  - name: meta.property-value.css
886
888
  begin: ":"
887
- beginCaptures:
888
- "0":
889
+ beginCaptures:
890
+ '0':
889
891
  name: punctuation.separator.key-value.css
890
- end: (?=[;}])
891
- patterns:
892
+ end: "(?=[;}])"
893
+ patterns:
892
894
  - include: "#comment-block"
893
895
  - include: "#important"
894
896
  - include: "#font-specific"
@@ -896,19 +898,19 @@ patterns:
896
898
  - include: "#string-double"
897
899
  - include: "#string-single"
898
900
  - name: meta.property.font-size.css
899
- captures:
900
- "1":
901
+ captures:
902
+ '1':
901
903
  name: support.type.property-name.css
902
- begin: (font-size(-adjust)?)
903
- end: (?=[;}])
904
- patterns:
904
+ begin: "(font-size(-adjust)?)"
905
+ end: "(?=[;}])"
906
+ patterns:
905
907
  - name: meta.property-value.css
906
908
  begin: ":"
907
- beginCaptures:
908
- "0":
909
+ beginCaptures:
910
+ '0':
909
911
  name: punctuation.separator.key-value.css
910
- end: (?=[;}])
911
- patterns:
912
+ end: "(?=[;}])"
913
+ patterns:
912
914
  - include: "#comment-block"
913
915
  - include: "#important"
914
916
  - include: "#length"
@@ -917,306 +919,306 @@ patterns:
917
919
  - include: "#font-relative"
918
920
  - include: "#font-adjust"
919
921
  - name: meta.property.font-stretch.css
920
- captures:
921
- "1":
922
+ captures:
923
+ '1':
922
924
  name: support.type.property-name.css
923
- begin: (font-stretch)
924
- end: (?=[;}])
925
- patterns:
925
+ begin: "(font-stretch)"
926
+ end: "(?=[;}])"
927
+ patterns:
926
928
  - name: meta.property-value.css
927
929
  begin: ":"
928
- beginCaptures:
929
- "0":
930
+ beginCaptures:
931
+ '0':
930
932
  name: punctuation.separator.key-value.css
931
- end: (?=[;}])
932
- patterns:
933
+ end: "(?=[;}])"
934
+ patterns:
933
935
  - include: "#comment-block"
934
936
  - include: "#important"
935
937
  - include: "#font-stretch"
936
938
  - name: meta.property.font-style.css
937
- captures:
938
- "1":
939
+ captures:
940
+ '1':
939
941
  name: support.type.property-name.css
940
- begin: (font-style)
941
- end: (?=[;}])
942
- patterns:
942
+ begin: "(font-style)"
943
+ end: "(?=[;}])"
944
+ patterns:
943
945
  - name: meta.property-value.css
944
946
  begin: ":"
945
- beginCaptures:
946
- "0":
947
+ beginCaptures:
948
+ '0':
947
949
  name: punctuation.separator.key-value.css
948
- end: (?=[;}])
949
- patterns:
950
+ end: "(?=[;}])"
951
+ patterns:
950
952
  - include: "#comment-block"
951
953
  - include: "#important"
952
954
  - include: "#font-style"
953
955
  - name: meta.property.font-variant.css
954
- captures:
955
- "1":
956
+ captures:
957
+ '1':
956
958
  name: support.type.property-name.css
957
- begin: (font-variant)
958
- end: (?=[;}])
959
- patterns:
959
+ begin: "(font-variant)"
960
+ end: "(?=[;}])"
961
+ patterns:
960
962
  - name: meta.property-value.css
961
963
  begin: ":"
962
- beginCaptures:
963
- "0":
964
+ beginCaptures:
965
+ '0':
964
966
  name: punctuation.separator.key-value.css
965
- end: (?=[;}])
966
- patterns:
967
+ end: "(?=[;}])"
968
+ patterns:
967
969
  - include: "#comment-block"
968
970
  - include: "#important"
969
971
  - include: "#font-variant"
970
972
  - name: meta.property.font-weight.css
971
- captures:
972
- "1":
973
+ captures:
974
+ '1':
973
975
  name: support.type.property-name.css
974
- begin: (font-weight)
975
- end: (?=[;}])
976
- patterns:
976
+ begin: "(font-weight)"
977
+ end: "(?=[;}])"
978
+ patterns:
977
979
  - name: meta.property-value.css
978
980
  begin: ":"
979
- beginCaptures:
980
- "0":
981
+ beginCaptures:
982
+ '0':
981
983
  name: punctuation.separator.key-value.css
982
- end: (?=[;}])
983
- patterns:
984
+ end: "(?=[;}])"
985
+ patterns:
984
986
  - include: "#comment-block"
985
987
  - include: "#important"
986
988
  - include: "#font-weight"
987
989
  - name: meta.property.letter-spacing.css
988
- captures:
989
- "1":
990
+ captures:
991
+ '1':
990
992
  name: support.type.property-name.css
991
- begin: (letter-spacing)
992
- end: (?=[;}])
993
- patterns:
993
+ begin: "(letter-spacing)"
994
+ end: "(?=[;}])"
995
+ patterns:
994
996
  - name: meta.property-value.css
995
997
  begin: ":"
996
- beginCaptures:
997
- "0":
998
+ beginCaptures:
999
+ '0':
998
1000
  name: punctuation.separator.key-value.css
999
- end: (?=[;}])
1000
- patterns:
1001
+ end: "(?=[;}])"
1002
+ patterns:
1001
1003
  - include: "#length"
1002
1004
  - include: "#comment-block"
1003
1005
  - include: "#important"
1004
1006
  - name: support.constant.property-value.css
1005
- match: (normal)
1007
+ match: "(normal)"
1006
1008
  - name: meta.property.line-height.css
1007
- captures:
1008
- "1":
1009
+ captures:
1010
+ '1':
1009
1011
  name: support.type.property-name.css
1010
- begin: (line-height)
1011
- end: (?=[;}])
1012
- patterns:
1012
+ begin: "(line-height)"
1013
+ end: "(?=[;}])"
1014
+ patterns:
1013
1015
  - name: meta.property-value.css
1014
1016
  begin: ":"
1015
- beginCaptures:
1016
- "0":
1017
+ beginCaptures:
1018
+ '0':
1017
1019
  name: punctuation.separator.key-value.css
1018
- end: (?=[;}])
1019
- patterns:
1020
+ end: "(?=[;}])"
1021
+ patterns:
1020
1022
  - include: "#length"
1021
1023
  - include: "#percentage"
1022
1024
  - include: "#comment-block"
1023
1025
  - include: "#important"
1024
1026
  - name: support.constant.property-value.css
1025
- match: (normal)
1027
+ match: "(normal)"
1026
1028
  - name: meta.property-group.list-style.css
1027
- begin: (?=list)
1028
- end: (?=[;}])
1029
- patterns:
1029
+ begin: "(?=list)"
1030
+ end: "(?=[;}])"
1031
+ patterns:
1030
1032
  - name: meta.property.list-style.css
1031
- captures:
1032
- "1":
1033
+ captures:
1034
+ '1':
1033
1035
  name: support.type.property-name.css
1034
- begin: (list-style[:|\s])
1035
- end: (?=[;}])
1036
- patterns:
1036
+ begin: "(list-style[:|\\s])"
1037
+ end: "(?=[;}])"
1038
+ patterns:
1037
1039
  - name: meta.property-value.css
1038
1040
  begin: ":"
1039
- beginCaptures:
1040
- "0":
1041
+ beginCaptures:
1042
+ '0':
1041
1043
  name: punctuation.separator.key-value.css
1042
- end: (?=[;}])
1043
- patterns:
1044
+ end: "(?=[;}])"
1045
+ patterns:
1044
1046
  - name: support.constant.property-value.css
1045
- match: (disc|circle|square|none)
1047
+ match: "(disc|circle|square|none)"
1046
1048
  - include: "#list-style-type"
1047
1049
  - name: support.constant.property-value.css
1048
- match: (inside|outside)
1050
+ match: "(inside|outside)"
1049
1051
  - include: "#uri"
1050
1052
  - include: "#comment-block"
1051
1053
  - include: "#important"
1052
1054
  - name: meta.property.list-style-image.css
1053
- captures:
1054
- "1":
1055
+ captures:
1056
+ '1':
1055
1057
  name: support.type.property-name.css
1056
- begin: (list-style-image)
1057
- end: (?=[;}])
1058
- patterns:
1058
+ begin: "(list-style-image)"
1059
+ end: "(?=[;}])"
1060
+ patterns:
1059
1061
  - name: meta.property-value.css
1060
1062
  begin: ":"
1061
- beginCaptures:
1062
- "0":
1063
+ beginCaptures:
1064
+ '0':
1063
1065
  name: punctuation.separator.key-value.css
1064
- end: (?=[;}])
1065
- patterns:
1066
+ end: "(?=[;}])"
1067
+ patterns:
1066
1068
  - name: support.constant.property-value.css
1067
- match: (none)
1069
+ match: "(none)"
1068
1070
  - include: "#uri"
1069
1071
  - include: "#comment-block"
1070
1072
  - include: "#important"
1071
1073
  - name: meta.property.list-style-position.css
1072
- captures:
1073
- "1":
1074
+ captures:
1075
+ '1':
1074
1076
  name: support.type.property-name.css
1075
- begin: (list-style-position)
1076
- end: (?=[;}])
1077
- patterns:
1077
+ begin: "(list-style-position)"
1078
+ end: "(?=[;}])"
1079
+ patterns:
1078
1080
  - name: meta.property-value.css
1079
1081
  begin: ":"
1080
- beginCaptures:
1081
- "0":
1082
+ beginCaptures:
1083
+ '0':
1082
1084
  name: punctuation.separator.key-value.css
1083
- end: (?=[;}])
1084
- patterns:
1085
+ end: "(?=[;}])"
1086
+ patterns:
1085
1087
  - name: support.constant.property-value.css
1086
- match: (inside|outside)
1088
+ match: "(inside|outside)"
1087
1089
  - include: "#comment-block"
1088
1090
  - include: "#important"
1089
1091
  - name: meta.property.list-style-type.css
1090
- captures:
1091
- "1":
1092
+ captures:
1093
+ '1':
1092
1094
  name: support.type.property-name.css
1093
- begin: (list-style-type)
1094
- end: (?=[;}])
1095
- patterns:
1095
+ begin: "(list-style-type)"
1096
+ end: "(?=[;}])"
1097
+ patterns:
1096
1098
  - name: meta.property-value.css
1097
1099
  begin: ":"
1098
- beginCaptures:
1099
- "0":
1100
+ beginCaptures:
1101
+ '0':
1100
1102
  name: punctuation.separator.key-value.css
1101
- end: (?=[;}])
1102
- patterns:
1103
+ end: "(?=[;}])"
1104
+ patterns:
1103
1105
  - name: support.constant.property-value.css
1104
- match: (disc|circle|square|none)
1106
+ match: "(disc|circle|square|none)"
1105
1107
  - include: "#list-style-type"
1106
1108
  - include: "#comment-block"
1107
1109
  - include: "#important"
1108
1110
  - name: meta.property.margin.css
1109
- captures:
1110
- "1":
1111
+ captures:
1112
+ '1':
1111
1113
  name: support.type.property-name.css
1112
- begin: (margin(-bottom|-left|-right|-top)?)
1113
- end: (?=[;}])
1114
- patterns:
1114
+ begin: "(margin(-bottom|-left|-right|-top)?)"
1115
+ end: "(?=[;}])"
1116
+ patterns:
1115
1117
  - name: meta.property-value.css
1116
1118
  begin: ":"
1117
- beginCaptures:
1118
- "0":
1119
+ beginCaptures:
1120
+ '0':
1119
1121
  name: punctuation.separator.key-value.css
1120
- end: (?=[;}])
1121
- patterns:
1122
+ end: "(?=[;}])"
1123
+ patterns:
1122
1124
  - include: "#length"
1123
1125
  - name: support.constant.property-value.css
1124
1126
  match: auto
1125
1127
  - include: "#comment-block"
1126
1128
  - include: "#important"
1127
1129
  - name: meta.property.marker-offset.css
1128
- captures:
1129
- "1":
1130
+ captures:
1131
+ '1':
1130
1132
  name: support.type.property-name.css
1131
- begin: (marker-offset)
1132
- end: (?=[;}])
1133
- patterns:
1133
+ begin: "(marker-offset)"
1134
+ end: "(?=[;}])"
1135
+ patterns:
1134
1136
  - name: meta.property-value.css
1135
1137
  begin: ":"
1136
- beginCaptures:
1137
- "0":
1138
+ beginCaptures:
1139
+ '0':
1138
1140
  name: punctuation.separator.key-value.css
1139
- end: (?=[;}])
1140
- patterns:
1141
+ end: "(?=[;}])"
1142
+ patterns:
1141
1143
  - include: "#length"
1142
1144
  - name: support.constant.property-value.css
1143
1145
  match: auto
1144
1146
  - include: "#comment-block"
1145
1147
  - include: "#important"
1146
1148
  - name: meta.property.marks.css
1147
- captures:
1148
- "1":
1149
+ captures:
1150
+ '1':
1149
1151
  name: support.type.property-name.css
1150
- begin: (marks)
1151
- end: (?=[;}])
1152
- patterns:
1152
+ begin: "(marks)"
1153
+ end: "(?=[;}])"
1154
+ patterns:
1153
1155
  - name: meta.property-value.css
1154
1156
  begin: ":"
1155
- beginCaptures:
1156
- "0":
1157
+ beginCaptures:
1158
+ '0':
1157
1159
  name: punctuation.separator.key-value.css
1158
- end: (?=[;}])
1159
- patterns:
1160
+ end: "(?=[;}])"
1161
+ patterns:
1160
1162
  - name: support.constant.property-value.css
1161
- match: (crop|cross|none)
1163
+ match: "(crop|cross|none)"
1162
1164
  - include: "#comment-block"
1163
1165
  - include: "#important"
1164
1166
  - name: meta.property.opacity.css
1165
- captures:
1166
- "1":
1167
+ captures:
1168
+ '1':
1167
1169
  name: support.type.property-name.css
1168
- begin: (opacity)
1169
- end: (?=[;}])
1170
- patterns:
1170
+ begin: "(opacity)"
1171
+ end: "(?=[;}])"
1172
+ patterns:
1171
1173
  - name: meta.property-value.css
1172
1174
  begin: ":"
1173
- beginCaptures:
1174
- "0":
1175
+ beginCaptures:
1176
+ '0':
1175
1177
  name: punctuation.separator.key-value.css
1176
- end: (?=[;}])
1177
- patterns:
1178
+ end: "(?=[;}])"
1179
+ patterns:
1178
1180
  - name: constant.numeric.css
1179
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1181
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1180
1182
  - include: "#comment-block"
1181
1183
  - include: "#important"
1182
1184
  - name: meta.property.orphans.css
1183
- captures:
1184
- "1":
1185
+ captures:
1186
+ '1':
1185
1187
  name: support.type.property-name.css
1186
- begin: (orphans)
1187
- end: (?=[;}])
1188
- patterns:
1188
+ begin: "(orphans)"
1189
+ end: "(?=[;}])"
1190
+ patterns:
1189
1191
  - name: meta.property-value.css
1190
1192
  begin: ":"
1191
- beginCaptures:
1192
- "0":
1193
+ beginCaptures:
1194
+ '0':
1193
1195
  name: punctuation.separator.key-value.css
1194
- end: (?=[;}])
1195
- patterns:
1196
+ end: "(?=[;}])"
1197
+ patterns:
1196
1198
  - name: constant.numeric.css
1197
1199
  match: "[0-9]+"
1198
1200
  - include: "#comment-block"
1199
1201
  - include: "#important"
1200
1202
  - name: meta.property-group.outline.css
1201
- begin: (?=outline)
1202
- end: (?=[;}])
1203
- patterns:
1203
+ begin: "(?=outline)"
1204
+ end: "(?=[;}])"
1205
+ patterns:
1204
1206
  - name: meta.property.outline.css
1205
- captures:
1206
- "1":
1207
+ captures:
1208
+ '1':
1207
1209
  name: support.type.property-name.css
1208
- begin: (outline)[:\s]
1209
- end: (?=[;}])
1210
- patterns:
1210
+ begin: "(outline)[:\\s]"
1211
+ end: "(?=[;}])"
1212
+ patterns:
1211
1213
  - name: meta.property-value.css
1212
1214
  begin: ":"
1213
- beginCaptures:
1214
- "0":
1215
+ beginCaptures:
1216
+ '0':
1215
1217
  name: punctuation.separator.key-value.css
1216
- end: (?=[;}])
1217
- patterns:
1218
+ end: "(?=[;}])"
1219
+ patterns:
1218
1220
  - name: support.constant.property-value.css
1219
- match: (invert)
1221
+ match: "(invert)"
1220
1222
  - include: "#length"
1221
1223
  - include: "#border-style"
1222
1224
  - include: "#border-width"
@@ -1226,235 +1228,235 @@ patterns:
1226
1228
  - include: "#comment-block"
1227
1229
  - include: "#important"
1228
1230
  - name: meta.property.outline-style.css
1229
- captures:
1230
- "1":
1231
+ captures:
1232
+ '1':
1231
1233
  name: support.type.property-name.css
1232
- begin: (outline-style)
1233
- end: (?=[;}])
1234
- patterns:
1234
+ begin: "(outline-style)"
1235
+ end: "(?=[;}])"
1236
+ patterns:
1235
1237
  - name: meta.property-value.css
1236
1238
  begin: ":"
1237
- beginCaptures:
1238
- "0":
1239
+ beginCaptures:
1240
+ '0':
1239
1241
  name: punctuation.separator.key-value.css
1240
- end: (?=[;}])
1241
- patterns:
1242
+ end: "(?=[;}])"
1243
+ patterns:
1242
1244
  - include: "#border-style"
1243
1245
  - include: "#comment-block"
1244
1246
  - include: "#important"
1245
1247
  - name: meta.property.outline-color.css
1246
- captures:
1247
- "1":
1248
+ captures:
1249
+ '1':
1248
1250
  name: support.type.property-name.css
1249
- begin: (outline-color)
1250
- end: (?=[;}])
1251
- patterns:
1251
+ begin: "(outline-color)"
1252
+ end: "(?=[;}])"
1253
+ patterns:
1252
1254
  - name: meta.property-value.css
1253
1255
  begin: ":"
1254
- beginCaptures:
1255
- "0":
1256
+ beginCaptures:
1257
+ '0':
1256
1258
  name: punctuation.separator.key-value.css
1257
- end: (?=[;}])
1258
- patterns:
1259
+ end: "(?=[;}])"
1260
+ patterns:
1259
1261
  - name: support.constant.property-value.css
1260
- match: (invert)
1262
+ match: "(invert)"
1261
1263
  - include: "#color-hex"
1262
1264
  - include: "#color-rgb"
1263
1265
  - include: "#color-named"
1264
1266
  - include: "#comment-block"
1265
1267
  - include: "#important"
1266
1268
  - name: meta.property.outline-width.css
1267
- captures:
1268
- "1":
1269
+ captures:
1270
+ '1':
1269
1271
  name: support.type.property-name.css
1270
- begin: (outline-width)
1271
- end: (?=[;}])
1272
- patterns:
1272
+ begin: "(outline-width)"
1273
+ end: "(?=[;}])"
1274
+ patterns:
1273
1275
  - name: meta.property-value.css
1274
1276
  begin: ":"
1275
- beginCaptures:
1276
- "0":
1277
+ beginCaptures:
1278
+ '0':
1277
1279
  name: punctuation.separator.key-value.css
1278
- end: (?=[;}])
1279
- patterns:
1280
+ end: "(?=[;}])"
1281
+ patterns:
1280
1282
  - include: "#length"
1281
1283
  - include: "#border-width"
1282
1284
  - include: "#comment-block"
1283
1285
  - include: "#important"
1284
1286
  - name: meta.property.overflow.css
1285
- captures:
1286
- "1":
1287
+ captures:
1288
+ '1':
1287
1289
  name: support.type.property-name.css
1288
- begin: (overflow)
1289
- end: (?=[;}])
1290
- patterns:
1290
+ begin: "(overflow)"
1291
+ end: "(?=[;}])"
1292
+ patterns:
1291
1293
  - name: meta.property-value.css
1292
1294
  begin: ":"
1293
- beginCaptures:
1294
- "0":
1295
+ beginCaptures:
1296
+ '0':
1295
1297
  name: punctuation.separator.key-value.css
1296
- end: (?=[;}])
1297
- patterns:
1298
+ end: "(?=[;}])"
1299
+ patterns:
1298
1300
  - name: support.constant.property-value.css
1299
- match: (visible|hidden|scroll)
1301
+ match: "(visible|hidden|scroll)"
1300
1302
  - name: support.constant.property-value.css
1301
1303
  match: auto
1302
1304
  - include: "#comment-block"
1303
1305
  - include: "#important"
1304
1306
  - name: meta.property.padding.css
1305
- captures:
1306
- "1":
1307
+ captures:
1308
+ '1':
1307
1309
  name: support.type.property-name.css
1308
- begin: (padding(-bottom|-left|-right|-top)?)
1309
- end: (?=[;}])
1310
- patterns:
1310
+ begin: "(padding(-bottom|-left|-right|-top)?)"
1311
+ end: "(?=[;}])"
1312
+ patterns:
1311
1313
  - name: meta.property-value.css
1312
1314
  begin: ":"
1313
- beginCaptures:
1314
- "0":
1315
+ beginCaptures:
1316
+ '0':
1315
1317
  name: punctuation.separator.key-value.css
1316
- end: (?=[;}])
1317
- patterns:
1318
+ end: "(?=[;}])"
1319
+ patterns:
1318
1320
  - include: "#length"
1319
1321
  - name: support.constant.property-value.css
1320
1322
  match: auto
1321
1323
  - include: "#comment-block"
1322
1324
  - include: "#important"
1323
1325
  - name: meta.property.page.css
1324
- captures:
1325
- "1":
1326
+ captures:
1327
+ '1':
1326
1328
  name: support.type.property-name.css
1327
- begin: (page)(?=[:\s])
1328
- end: (?=[;}])
1329
- patterns:
1329
+ begin: "(page)(?=[:\\s])"
1330
+ end: "(?=[;}])"
1331
+ patterns:
1330
1332
  - name: meta.property-value.css
1331
1333
  begin: ":"
1332
- beginCaptures:
1333
- "0":
1334
+ beginCaptures:
1335
+ '0':
1334
1336
  name: punctuation.separator.key-value.css
1335
- end: (?=[;}])
1336
- patterns:
1337
+ end: "(?=[;}])"
1338
+ patterns:
1337
1339
  - name: support.constant.property-value.css
1338
- match: (always|avoid|left|right)
1340
+ match: "(always|avoid|left|right)"
1339
1341
  - name: support.constant.property-value.css
1340
1342
  match: auto
1341
1343
  - include: "#comment-block"
1342
1344
  - include: "#important"
1343
1345
  - name: meta.property.page.css
1344
- captures:
1345
- "1":
1346
+ captures:
1347
+ '1':
1346
1348
  name: support.type.property-name.css
1347
- begin: (page-break-(before|after|inside)?)
1348
- end: (?=[;}])
1349
- patterns:
1349
+ begin: "(page-break-(before|after|inside)?)"
1350
+ end: "(?=[;}])"
1351
+ patterns:
1350
1352
  - name: meta.property-value.css
1351
1353
  begin: ":"
1352
- beginCaptures:
1353
- "0":
1354
+ beginCaptures:
1355
+ '0':
1354
1356
  name: punctuation.separator.key-value.css
1355
- end: (?=[;}])
1356
- patterns:
1357
+ end: "(?=[;}])"
1358
+ patterns:
1357
1359
  - name: support.constant.property-value.css
1358
- match: (always|avoid|left|right)
1360
+ match: "(always|avoid|left|right)"
1359
1361
  - name: support.constant.property-value.css
1360
1362
  match: auto
1361
1363
  - include: "#comment-block"
1362
1364
  - include: "#important"
1363
1365
  - name: meta.property.pause.css
1364
- captures:
1365
- "1":
1366
+ captures:
1367
+ '1':
1366
1368
  name: support.type.property-name.css
1367
- begin: (pause(-after|-before)?)
1368
- end: (?=[;}])
1369
- patterns:
1369
+ begin: "(pause(-after|-before)?)"
1370
+ end: "(?=[;}])"
1371
+ patterns:
1370
1372
  - name: meta.property-value.css
1371
1373
  begin: ":"
1372
- beginCaptures:
1373
- "0":
1374
+ beginCaptures:
1375
+ '0':
1374
1376
  name: punctuation.separator.key-value.css
1375
- end: (?=[;}])
1376
- patterns:
1377
+ end: "(?=[;}])"
1378
+ patterns:
1377
1379
  - name: constant.numeric.css
1378
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1380
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1379
1381
  - name: constant.other.unit.css
1380
- match: (m)?s
1382
+ match: "(m)?s"
1381
1383
  - name: constant.other.unit.css
1382
1384
  match: "%"
1383
1385
  - include: "#comment-block"
1384
1386
  - include: "#important"
1385
1387
  - name: meta.property.pitch.css
1386
- captures:
1387
- "1":
1388
+ captures:
1389
+ '1':
1388
1390
  name: support.type.property-name.css
1389
- begin: (pitch(-range)?)
1390
- end: (?=[;}])
1391
- patterns:
1391
+ begin: "(pitch(-range)?)"
1392
+ end: "(?=[;}])"
1393
+ patterns:
1392
1394
  - name: meta.property-value.css
1393
1395
  begin: ":"
1394
- beginCaptures:
1395
- "0":
1396
+ beginCaptures:
1397
+ '0':
1396
1398
  name: punctuation.separator.key-value.css
1397
- end: (?=[;}])
1398
- patterns:
1399
+ end: "(?=[;}])"
1400
+ patterns:
1399
1401
  - name: constant.numeric.css
1400
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1402
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1401
1403
  - name: constant.other.unit.css
1402
- match: (k)?Hz
1404
+ match: "(k)?Hz"
1403
1405
  - name: support.constant.property-value.css
1404
- match: (x-low|low|medium|high|x-high)
1406
+ match: "(x-low|low|medium|high|x-high)"
1405
1407
  - include: "#comment-block"
1406
1408
  - include: "#important"
1407
1409
  - name: meta.property.play-during.css
1408
- captures:
1409
- "1":
1410
+ captures:
1411
+ '1':
1410
1412
  name: support.type.property-name.css
1411
- begin: (play-during)
1412
- end: (?=[;}])
1413
- patterns:
1413
+ begin: "(play-during)"
1414
+ end: "(?=[;}])"
1415
+ patterns:
1414
1416
  - name: meta.property-value.css
1415
1417
  begin: ":"
1416
- beginCaptures:
1417
- "0":
1418
+ beginCaptures:
1419
+ '0':
1418
1420
  name: punctuation.separator.key-value.css
1419
- end: (?=[;}])
1420
- patterns:
1421
+ end: "(?=[;}])"
1422
+ patterns:
1421
1423
  - name: support.constant.property-value.css
1422
- match: (mix|repeat|auto|none)
1424
+ match: "(mix|repeat|auto|none)"
1423
1425
  - include: "#comment-block"
1424
1426
  - include: "#important"
1425
1427
  - include: "#uri"
1426
1428
  - name: meta.property.position.css
1427
- captures:
1428
- "1":
1429
+ captures:
1430
+ '1':
1429
1431
  name: support.type.property-name.css
1430
- begin: (position)
1431
- end: (?=[;}])
1432
- patterns:
1432
+ begin: "(position)"
1433
+ end: "(?=[;}])"
1434
+ patterns:
1433
1435
  - name: meta.property-value.css
1434
1436
  begin: ":"
1435
- beginCaptures:
1436
- "0":
1437
+ beginCaptures:
1438
+ '0':
1437
1439
  name: punctuation.separator.key-value.css
1438
- end: (?=[;}])
1439
- patterns:
1440
+ end: "(?=[;}])"
1441
+ patterns:
1440
1442
  - name: support.constant.property-value.css
1441
- match: (relative|fixed|absolute|static)
1443
+ match: "(relative|fixed|absolute|static)"
1442
1444
  - include: "#comment-block"
1443
1445
  - include: "#important"
1444
1446
  - name: meta.property.quotes.css
1445
- captures:
1446
- "1":
1447
+ captures:
1448
+ '1':
1447
1449
  name: support.type.property-name.css
1448
- begin: (quotes)
1449
- end: (?=[;}])
1450
- patterns:
1450
+ begin: "(quotes)"
1451
+ end: "(?=[;}])"
1452
+ patterns:
1451
1453
  - name: meta.property-value.css
1452
1454
  begin: ":"
1453
- beginCaptures:
1454
- "0":
1455
+ beginCaptures:
1456
+ '0':
1455
1457
  name: punctuation.separator.key-value.css
1456
- end: (?=[;}])
1457
- patterns:
1458
+ end: "(?=[;}])"
1459
+ patterns:
1458
1460
  - include: "#string-double"
1459
1461
  - include: "#string-single"
1460
1462
  - name: support.constant.property-value.css
@@ -1462,37 +1464,37 @@ patterns:
1462
1464
  - include: "#comment-block"
1463
1465
  - include: "#important"
1464
1466
  - name: meta.property.richness.css
1465
- captures:
1466
- "1":
1467
+ captures:
1468
+ '1':
1467
1469
  name: support.type.property-name.css
1468
- begin: (richness)
1469
- end: (?=[;}])
1470
- patterns:
1470
+ begin: "(richness)"
1471
+ end: "(?=[;}])"
1472
+ patterns:
1471
1473
  - name: meta.property-value.css
1472
1474
  begin: ":"
1473
- beginCaptures:
1474
- "0":
1475
+ beginCaptures:
1476
+ '0':
1475
1477
  name: punctuation.separator.key-value.css
1476
- end: (?=[;}])
1477
- patterns:
1478
+ end: "(?=[;}])"
1479
+ patterns:
1478
1480
  - name: constant.numeric.css
1479
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1481
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1480
1482
  - include: "#comment-block"
1481
1483
  - include: "#important"
1482
1484
  - name: meta.property.placement.css
1483
- captures:
1484
- "1":
1485
+ captures:
1486
+ '1':
1485
1487
  name: support.type.property-name.css
1486
- begin: (bottom|left|right|top)
1487
- end: (?=[;}])
1488
- patterns:
1488
+ begin: "(bottom|left|right|top)"
1489
+ end: "(?=[;}])"
1490
+ patterns:
1489
1491
  - name: meta.property-value.css
1490
1492
  begin: ":"
1491
- beginCaptures:
1492
- "0":
1493
+ beginCaptures:
1494
+ '0':
1493
1495
  name: punctuation.separator.key-value.css
1494
- end: (?=[;}])
1495
- patterns:
1496
+ end: "(?=[;}])"
1497
+ patterns:
1496
1498
  - include: "#length"
1497
1499
  - include: "#percentage"
1498
1500
  - include: "#comment-block"
@@ -1500,19 +1502,19 @@ patterns:
1500
1502
  - name: support.constant.property-value.css
1501
1503
  match: auto
1502
1504
  - name: meta.property.elem-size.css
1503
- captures:
1504
- "1":
1505
+ captures:
1506
+ '1':
1505
1507
  name: support.type.property-name.css
1506
- begin: (((min|max)-)?(height|width))
1507
- end: (?=[;}])
1508
- patterns:
1508
+ begin: "(((min|max)-)?(height|width))"
1509
+ end: "(?=[;}])"
1510
+ patterns:
1509
1511
  - name: meta.property-value.css
1510
1512
  begin: ":"
1511
- beginCaptures:
1512
- "0":
1513
+ beginCaptures:
1514
+ '0':
1513
1515
  name: punctuation.separator.key-value.css
1514
- end: (?=[;}])
1515
- patterns:
1516
+ end: "(?=[;}])"
1517
+ patterns:
1516
1518
  - include: "#length"
1517
1519
  - include: "#percentage"
1518
1520
  - include: "#comment-block"
@@ -1522,180 +1524,180 @@ patterns:
1522
1524
  - name: support.constant.property-value.css
1523
1525
  match: auto
1524
1526
  - name: meta.property.size.css
1525
- captures:
1526
- "1":
1527
+ captures:
1528
+ '1':
1527
1529
  name: support.type.property-name.css
1528
- begin: (size)
1529
- end: (?=[;}])
1530
- patterns:
1530
+ begin: "(size)"
1531
+ end: "(?=[;}])"
1532
+ patterns:
1531
1533
  - name: meta.property-value.css
1532
1534
  begin: ":"
1533
- beginCaptures:
1534
- "0":
1535
+ beginCaptures:
1536
+ '0':
1535
1537
  name: punctuation.separator.key-value.css
1536
- end: (?=[;}])
1537
- patterns:
1538
+ end: "(?=[;}])"
1539
+ patterns:
1538
1540
  - include: "#length"
1539
1541
  - include: "#comment-block"
1540
1542
  - include: "#important"
1541
1543
  - name: support.constant.property-value.css
1542
- match: (portrait|landscape)
1544
+ match: "(portrait|landscape)"
1543
1545
  - name: support.constant.property-value.css
1544
1546
  match: auto
1545
1547
  - name: meta.property.speak.css
1546
- captures:
1547
- "1":
1548
+ captures:
1549
+ '1':
1548
1550
  name: support.type.property-name.css
1549
- begin: (speak(-(header|numeral|punctuation))?)
1550
- end: (?=[;}])
1551
- patterns:
1551
+ begin: "(speak(-(header|numeral|punctuation))?)"
1552
+ end: "(?=[;}])"
1553
+ patterns:
1552
1554
  - name: meta.property-value.css
1553
1555
  begin: ":"
1554
- beginCaptures:
1555
- "0":
1556
+ beginCaptures:
1557
+ '0':
1556
1558
  name: punctuation.separator.key-value.css
1557
- end: (?=[;}])
1558
- patterns:
1559
+ end: "(?=[;}])"
1560
+ patterns:
1559
1561
  - name: support.constant.property-value.css
1560
- match: (normal|none|spell-out)
1562
+ match: "(normal|none|spell-out)"
1561
1563
  - name: support.constant.property-value.css
1562
- match: (once|always)
1564
+ match: "(once|always)"
1563
1565
  - name: support.constant.property-value.css
1564
- match: (digits|continuous)
1566
+ match: "(digits|continuous)"
1565
1567
  - name: support.constant.property-value.css
1566
- match: (code|none)
1568
+ match: "(code|none)"
1567
1569
  - include: "#comment-block"
1568
1570
  - include: "#important"
1569
1571
  - name: meta.property.speech-rate.css
1570
- captures:
1571
- "1":
1572
+ captures:
1573
+ '1':
1572
1574
  name: support.type.property-name.css
1573
- begin: (speech-rate)
1574
- end: (?=[;}])
1575
- patterns:
1575
+ begin: "(speech-rate)"
1576
+ end: "(?=[;}])"
1577
+ patterns:
1576
1578
  - name: meta.property-value.css
1577
1579
  begin: ":"
1578
- beginCaptures:
1579
- "0":
1580
+ beginCaptures:
1581
+ '0':
1580
1582
  name: punctuation.separator.key-value.css
1581
- end: (?=[;}])
1582
- patterns:
1583
+ end: "(?=[;}])"
1584
+ patterns:
1583
1585
  - name: support.constant.property-value.css
1584
- match: (x-slow|slow(er)?|medium|fast(er)?|x-fast|inherit)
1586
+ match: "(x-slow|slow(er)?|medium|fast(er)?|x-fast|inherit)"
1585
1587
  - name: constant.numeric.css
1586
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1588
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1587
1589
  - include: "#comment-block"
1588
1590
  - include: "#important"
1589
1591
  - name: meta.property.stress.css
1590
- captures:
1591
- "1":
1592
+ captures:
1593
+ '1':
1592
1594
  name: support.type.property-name.css
1593
- begin: (stress)
1594
- end: (?=[;}])
1595
- patterns:
1595
+ begin: "(stress)"
1596
+ end: "(?=[;}])"
1597
+ patterns:
1596
1598
  - name: meta.property-value.css
1597
1599
  begin: ":"
1598
- beginCaptures:
1599
- "0":
1600
+ beginCaptures:
1601
+ '0':
1600
1602
  name: punctuation.separator.key-value.css
1601
- end: (?=[;}])
1602
- patterns:
1603
+ end: "(?=[;}])"
1604
+ patterns:
1603
1605
  - name: constant.numeric.css
1604
- match: (-|\+)?\s*[0-9]*(\.)?[0-9]+
1606
+ match: "(-|\\+)?\\s*[0-9]*(\\.)?[0-9]+"
1605
1607
  - include: "#comment-block"
1606
1608
  - include: "#important"
1607
1609
  - name: meta.property.table-layout.css
1608
- captures:
1609
- "1":
1610
+ captures:
1611
+ '1':
1610
1612
  name: support.type.property-name.css
1611
- begin: (table-layout)
1612
- end: (?=[;}])
1613
- patterns:
1613
+ begin: "(table-layout)"
1614
+ end: "(?=[;}])"
1615
+ patterns:
1614
1616
  - name: meta.property-value.css
1615
1617
  begin: ":"
1616
- beginCaptures:
1617
- "0":
1618
+ beginCaptures:
1619
+ '0':
1618
1620
  name: punctuation.separator.key-value.css
1619
- end: (?=[;}])
1620
- patterns:
1621
+ end: "(?=[;}])"
1622
+ patterns:
1621
1623
  - name: support.constant.property-value.css
1622
- match: (auto|fixed)
1624
+ match: "(auto|fixed)"
1623
1625
  - include: "#comment-block"
1624
1626
  - include: "#important"
1625
1627
  - name: meta.property-group.text.css
1626
- begin: (?=text)
1627
- end: (?=[;}])
1628
- patterns:
1628
+ begin: "(?=text)"
1629
+ end: "(?=[;}])"
1630
+ patterns:
1629
1631
  - name: meta.property.text-align.css
1630
- captures:
1631
- "1":
1632
+ captures:
1633
+ '1':
1632
1634
  name: support.type.property-name.css
1633
- begin: (text-align)
1634
- end: (?=[;}])
1635
- patterns:
1635
+ begin: "(text-align)"
1636
+ end: "(?=[;}])"
1637
+ patterns:
1636
1638
  - name: meta.property-value.css
1637
1639
  begin: ":"
1638
- beginCaptures:
1639
- "0":
1640
+ beginCaptures:
1641
+ '0':
1640
1642
  name: punctuation.separator.key-value.css
1641
- end: (?=[;}])
1642
- patterns:
1643
+ end: "(?=[;}])"
1644
+ patterns:
1643
1645
  - name: support.constant.property-value.css
1644
- match: (left|right|center|justify)
1646
+ match: "(left|right|center|justify)"
1645
1647
  - include: "#string-double"
1646
1648
  - include: "#string-single"
1647
1649
  - include: "#comment-block"
1648
1650
  - include: "#important"
1649
1651
  - name: meta.property.text-decoration.css
1650
- captures:
1651
- "1":
1652
+ captures:
1653
+ '1':
1652
1654
  name: support.type.property-name.css
1653
- begin: (text-decoration)
1654
- end: (?=[;}])
1655
- patterns:
1655
+ begin: "(text-decoration)"
1656
+ end: "(?=[;}])"
1657
+ patterns:
1656
1658
  - name: meta.property-value.css
1657
1659
  begin: ":"
1658
- beginCaptures:
1659
- "0":
1660
+ beginCaptures:
1661
+ '0':
1660
1662
  name: punctuation.separator.key-value.css
1661
- end: (?=[;}])
1662
- patterns:
1663
+ end: "(?=[;}])"
1664
+ patterns:
1663
1665
  - name: support.constant.property-value.css
1664
- match: (none|underline|overline|line-through|blink)
1666
+ match: "(none|underline|overline|line-through|blink)"
1665
1667
  - include: "#comment-block"
1666
1668
  - include: "#important"
1667
1669
  - name: meta.property.text-indent.css
1668
- captures:
1669
- "1":
1670
+ captures:
1671
+ '1':
1670
1672
  name: support.type.property-name.css
1671
- begin: (text-indent)
1672
- end: (?=[;}])
1673
- patterns:
1673
+ begin: "(text-indent)"
1674
+ end: "(?=[;}])"
1675
+ patterns:
1674
1676
  - name: meta.property-value.css
1675
1677
  begin: ":"
1676
- beginCaptures:
1677
- "0":
1678
+ beginCaptures:
1679
+ '0':
1678
1680
  name: punctuation.separator.key-value.css
1679
- end: (?=[;}])
1680
- patterns:
1681
+ end: "(?=[;}])"
1682
+ patterns:
1681
1683
  - include: "#length"
1682
1684
  - include: "#percentage"
1683
1685
  - include: "#comment-block"
1684
1686
  - include: "#important"
1685
1687
  - name: meta.property.text-shadow.css
1686
- captures:
1687
- "1":
1688
+ captures:
1689
+ '1':
1688
1690
  name: support.type.property-name.css
1689
- begin: (text-shadow)
1690
- end: (?=[;}])
1691
- patterns:
1691
+ begin: "(text-shadow)"
1692
+ end: "(?=[;}])"
1693
+ patterns:
1692
1694
  - name: meta.property-value.css
1693
1695
  begin: ":"
1694
- beginCaptures:
1695
- "0":
1696
+ beginCaptures:
1697
+ '0':
1696
1698
  name: punctuation.separator.key-value.css
1697
- end: (?=[;}])
1698
- patterns:
1699
+ end: "(?=[;}])"
1700
+ patterns:
1699
1701
  - name: support.constant.property-value.css
1700
1702
  match: none
1701
1703
  - include: "#length"
@@ -1705,221 +1707,221 @@ patterns:
1705
1707
  - include: "#comment-block"
1706
1708
  - include: "#important"
1707
1709
  - name: meta.property.text-transform.css
1708
- captures:
1709
- "1":
1710
+ captures:
1711
+ '1':
1710
1712
  name: support.type.property-name.css
1711
- begin: (text-transform)
1712
- end: (?=[;}])
1713
- patterns:
1713
+ begin: "(text-transform)"
1714
+ end: "(?=[;}])"
1715
+ patterns:
1714
1716
  - name: meta.property-value.css
1715
1717
  begin: ":"
1716
- beginCaptures:
1717
- "0":
1718
+ beginCaptures:
1719
+ '0':
1718
1720
  name: punctuation.separator.key-value.css
1719
- end: (?=[;}])
1720
- patterns:
1721
+ end: "(?=[;}])"
1722
+ patterns:
1721
1723
  - name: support.constant.property-value.css
1722
- match: (none|uppercase|lowercase|capitalize)
1724
+ match: "(none|uppercase|lowercase|capitalize)"
1723
1725
  - include: "#comment-block"
1724
1726
  - include: "#important"
1725
1727
  - name: meta.property.text.css
1726
- captures:
1727
- "1":
1728
+ captures:
1729
+ '1':
1728
1730
  name: support.type.property-name.css
1729
- begin: (text)[-\s]
1730
- end: (?=[;}])
1731
- patterns:
1731
+ begin: "(text)[-\\s]"
1732
+ end: "(?=[;}])"
1733
+ patterns:
1732
1734
  - name: meta.property-value.css
1733
1735
  begin: ":"
1734
- beginCaptures:
1735
- "0":
1736
+ beginCaptures:
1737
+ '0':
1736
1738
  name: punctuation.separator.key-value.css
1737
- end: (?=[;}])
1738
- patterns:
1739
+ end: "(?=[;}])"
1740
+ patterns:
1739
1741
  - include: "#length"
1740
1742
  - name: support.constant.property-value.css
1741
- match: (left|right|center|justify)
1743
+ match: "(left|right|center|justify)"
1742
1744
  - name: support.constant.property-value.css
1743
- match: (underline|overline|line-through|blink)
1745
+ match: "(underline|overline|line-through|blink)"
1744
1746
  - name: support.constant.property-value.css
1745
- match: (none|uppercase|lowercase|capitalize)
1747
+ match: "(none|uppercase|lowercase|capitalize)"
1746
1748
  - include: "#comment-block"
1747
1749
  - include: "#important"
1748
1750
  - name: meta.property.vertical-align.css
1749
- captures:
1750
- "1":
1751
+ captures:
1752
+ '1':
1751
1753
  name: support.type.property-name.css
1752
- begin: (vertical-align)
1753
- end: (?=[;}])
1754
- patterns:
1754
+ begin: "(vertical-align)"
1755
+ end: "(?=[;}])"
1756
+ patterns:
1755
1757
  - name: meta.property-value.css
1756
1758
  begin: ":"
1757
- beginCaptures:
1758
- "0":
1759
+ beginCaptures:
1760
+ '0':
1759
1761
  name: punctuation.separator.key-value.css
1760
- end: (?=[;}])
1761
- patterns:
1762
+ end: "(?=[;}])"
1763
+ patterns:
1762
1764
  - name: support.constant.property-value.css
1763
- match: (baseline|sub|super|top|text-top|middle|bottom|text-bottom)
1765
+ match: "(baseline|sub|super|top|text-top|middle|bottom|text-bottom)"
1764
1766
  - include: "#length"
1765
1767
  - include: "#percentage"
1766
1768
  - include: "#comment-block"
1767
1769
  - include: "#important"
1768
1770
  - name: meta.property.unicode-bidi.css
1769
- captures:
1770
- "1":
1771
+ captures:
1772
+ '1':
1771
1773
  name: support.type.property-name.css
1772
- begin: (unicode-bidi)
1773
- end: (?=[;}])
1774
- patterns:
1774
+ begin: "(unicode-bidi)"
1775
+ end: "(?=[;}])"
1776
+ patterns:
1775
1777
  - name: meta.property-name.css
1776
- begin: (?=[a-z])
1777
- end: (?=:)
1778
- patterns:
1778
+ begin: "(?=[a-z])"
1779
+ end: "(?=:)"
1780
+ patterns:
1779
1781
  - name: support.type.property-name.css
1780
1782
  match: unicode-bidi
1781
1783
  - name: meta.property-value.css
1782
1784
  begin: ":"
1783
- beginCaptures:
1784
- "0":
1785
+ beginCaptures:
1786
+ '0':
1785
1787
  name: punctuation.separator.key-value.css
1786
- end: (?=[;}])
1787
- patterns:
1788
+ end: "(?=[;}])"
1789
+ patterns:
1788
1790
  - name: support.constant.property-value.css
1789
- match: (normal|embed|bidi-override)
1791
+ match: "(normal|embed|bidi-override)"
1790
1792
  - include: "#length"
1791
1793
  - include: "#comment-block"
1792
1794
  - include: "#important"
1793
1795
  - name: meta.property.visibility.css
1794
- captures:
1795
- "1":
1796
+ captures:
1797
+ '1':
1796
1798
  name: support.type.property-name.css
1797
- begin: (visibility)
1798
- end: (?=[;}])
1799
- patterns:
1799
+ begin: "(visibility)"
1800
+ end: "(?=[;}])"
1801
+ patterns:
1800
1802
  - name: meta.property-value.css
1801
1803
  begin: ":"
1802
- beginCaptures:
1803
- "0":
1804
+ beginCaptures:
1805
+ '0':
1804
1806
  name: punctuation.separator.key-value.css
1805
- end: (?=[;}])
1806
- patterns:
1807
+ end: "(?=[;}])"
1808
+ patterns:
1807
1809
  - name: support.constant.property-value.css
1808
- match: (visible|hidden|collapse)
1810
+ match: "(visible|hidden|collapse)"
1809
1811
  - include: "#comment-block"
1810
1812
  - include: "#important"
1811
1813
  - name: meta.property.voice-family.css
1812
- captures:
1813
- "1":
1814
+ captures:
1815
+ '1':
1814
1816
  name: support.type.property-name.css
1815
- begin: (voice-family)
1816
- end: (?=[;}])
1817
- patterns:
1817
+ begin: "(voice-family)"
1818
+ end: "(?=[;}])"
1819
+ patterns:
1818
1820
  - name: meta.property-value.css
1819
1821
  begin: ":"
1820
- beginCaptures:
1821
- "0":
1822
+ beginCaptures:
1823
+ '0':
1822
1824
  name: punctuation.separator.key-value.css
1823
- end: (?=[;}])
1824
- patterns:
1825
+ end: "(?=[;}])"
1826
+ patterns:
1825
1827
  - name: support.constant.property-value.css
1826
- match: (male|female|child)
1828
+ match: "(male|female|child)"
1827
1829
  - include: "#comment-block"
1828
1830
  - include: "#important"
1829
1831
  - name: meta.property.volume.css
1830
- captures:
1831
- "1":
1832
+ captures:
1833
+ '1':
1832
1834
  name: support.type.property-name.css
1833
- begin: (volume)
1834
- end: (?=[;}])
1835
- patterns:
1835
+ begin: "(volume)"
1836
+ end: "(?=[;}])"
1837
+ patterns:
1836
1838
  - name: meta.property-value.css
1837
1839
  begin: ":"
1838
- beginCaptures:
1839
- "0":
1840
+ beginCaptures:
1841
+ '0':
1840
1842
  name: punctuation.separator.key-value.css
1841
- end: (?=[;}])
1842
- patterns:
1843
+ end: "(?=[;}])"
1844
+ patterns:
1843
1845
  - name: support.constant.property-value.css
1844
- match: (silent|x-soft|soft|medium|loud|x-loud)
1846
+ match: "(silent|x-soft|soft|medium|loud|x-loud)"
1845
1847
  - include: "#percentage"
1846
1848
  - name: constant.numeric.css
1847
- match: ([-+]?[0-9]*(\.)?[0-9]+)\b
1849
+ match: "([-+]?[0-9]*(\\.)?[0-9]+)\\b"
1848
1850
  - include: "#comment-block"
1849
1851
  - include: "#important"
1850
1852
  - name: meta.property.white-space.css
1851
- captures:
1852
- "1":
1853
+ captures:
1854
+ '1':
1853
1855
  name: support.type.property-name.css
1854
- begin: (white-space)
1855
- end: (?=[;}])
1856
- patterns:
1856
+ begin: "(white-space)"
1857
+ end: "(?=[;}])"
1858
+ patterns:
1857
1859
  - name: meta.property-value.css
1858
1860
  begin: ":"
1859
- beginCaptures:
1860
- "0":
1861
+ beginCaptures:
1862
+ '0':
1861
1863
  name: punctuation.separator.key-value.css
1862
- end: (?=[;}])
1863
- patterns:
1864
+ end: "(?=[;}])"
1865
+ patterns:
1864
1866
  - name: support.constant.property-value.css
1865
- match: (normal|pre|nowrap)
1867
+ match: "(normal|pre|nowrap)"
1866
1868
  - include: "#comment-block"
1867
1869
  - include: "#important"
1868
1870
  - name: meta.property.widows.css
1869
- captures:
1870
- "1":
1871
+ captures:
1872
+ '1':
1871
1873
  name: support.type.property-name.css
1872
- begin: (widows)
1873
- end: (?=[;}])
1874
- patterns:
1874
+ begin: "(widows)"
1875
+ end: "(?=[;}])"
1876
+ patterns:
1875
1877
  - name: meta.property-value.css
1876
1878
  begin: ":"
1877
- beginCaptures:
1878
- "0":
1879
+ beginCaptures:
1880
+ '0':
1879
1881
  name: punctuation.separator.key-value.css
1880
- end: (?=[;}])
1881
- patterns:
1882
+ end: "(?=[;}])"
1883
+ patterns:
1882
1884
  - name: constant.numeric.css
1883
1885
  match: "[0-9]+"
1884
1886
  - include: "#comment-block"
1885
1887
  - include: "#important"
1886
1888
  - name: meta.property.word-spacing.css
1887
- captures:
1888
- "1":
1889
+ captures:
1890
+ '1':
1889
1891
  name: support.type.property-name.css
1890
- begin: (word-spacing)
1891
- end: (?=[;}])
1892
- patterns:
1892
+ begin: "(word-spacing)"
1893
+ end: "(?=[;}])"
1894
+ patterns:
1893
1895
  - name: meta.property-value.css
1894
1896
  begin: ":"
1895
- beginCaptures:
1896
- "0":
1897
+ beginCaptures:
1898
+ '0':
1897
1899
  name: punctuation.separator.key-value.css
1898
- end: (?=[;}])
1899
- patterns:
1900
+ end: "(?=[;}])"
1901
+ patterns:
1900
1902
  - name: support.constant.property-value.css
1901
1903
  match: normal
1902
1904
  - include: "#length"
1903
1905
  - include: "#comment-block"
1904
1906
  - include: "#important"
1905
1907
  - name: meta.property.z-index.css
1906
- captures:
1907
- "1":
1908
+ captures:
1909
+ '1':
1908
1910
  name: support.type.property-name.css
1909
- begin: (z-index)
1910
- end: (?=[;}])
1911
- patterns:
1911
+ begin: "(z-index)"
1912
+ end: "(?=[;}])"
1913
+ patterns:
1912
1914
  - name: meta.property-value.css
1913
1915
  begin: ":"
1914
- beginCaptures:
1915
- "0":
1916
+ beginCaptures:
1917
+ '0':
1916
1918
  name: punctuation.separator.key-value.css
1917
- end: (?=[;}])
1918
- patterns:
1919
+ end: "(?=[;}])"
1920
+ patterns:
1919
1921
  - name: support.constant.property-value.css
1920
1922
  match: auto
1921
1923
  - name: constant.numeric.css
1922
1924
  match: "[0-9]+"
1923
1925
  - include: "#comment-block"
1924
1926
  - include: "#important"
1925
- foldingStopMarker: (\*/|\}|\))
1927
+ foldingStopMarker: "(\\*/|\\}|\\))"