ver 2009.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +1404 -0
- data/MANIFEST +187 -0
- data/Rakefile +30 -0
- data/TODO +169 -0
- data/bin/ver +19 -0
- data/config/detect.rb +109 -0
- data/config/keymap/vim.rb +239 -0
- data/config/rc.rb +0 -0
- data/config/scratch +3 -0
- data/config/syntax/ANTLR.json +275 -0
- data/config/syntax/ASP VB.net.json +228 -0
- data/config/syntax/ASP.json +135 -0
- data/config/syntax/ActionScript.json +168 -0
- data/config/syntax/Ada.json +108 -0
- data/config/syntax/Apache.json +342 -0
- data/config/syntax/AppleScript.json +721 -0
- data/config/syntax/Bibtex.json +253 -0
- data/config/syntax/Blog (HTML).json +47 -0
- data/config/syntax/Blog (Markdown).json +50 -0
- data/config/syntax/Blog (Text).json +45 -0
- data/config/syntax/Blog (Textile).json +45 -0
- data/config/syntax/Bulletin Board.json +428 -0
- data/config/syntax/C++.json +323 -0
- data/config/syntax/C.json +694 -0
- data/config/syntax/CSS.json +346 -0
- data/config/syntax/DOT.json +79 -0
- data/config/syntax/Diff.json +136 -0
- data/config/syntax/Dylan.json +104 -0
- data/config/syntax/Eiffel.json +128 -0
- data/config/syntax/Erlang.json +1636 -0
- data/config/syntax/F-Script.json +137 -0
- data/config/syntax/FXScript.json +260 -0
- data/config/syntax/Gri.json +141 -0
- data/config/syntax/HTML (Mason).json +207 -0
- data/config/syntax/HTML (Rails).json +52 -0
- data/config/syntax/HTML (Tcl).json +42 -0
- data/config/syntax/HTML for ASP.net.json +736 -0
- data/config/syntax/HTML-ASP.json +45 -0
- data/config/syntax/HTML.json +614 -0
- data/config/syntax/Haskell.json +407 -0
- data/config/syntax/Inform.json +80 -0
- data/config/syntax/Ini.json +91 -0
- data/config/syntax/Io.json +142 -0
- data/config/syntax/Java.json +745 -0
- data/config/syntax/JavaProperties.json +42 -0
- data/config/syntax/JavaScript.json +446 -0
- data/config/syntax/LaTeX Beamer.json +65 -0
- data/config/syntax/LaTeX Log.json +88 -0
- data/config/syntax/LaTeX.json +962 -0
- data/config/syntax/Lighttpd.json +93 -0
- data/config/syntax/Lisp.json +101 -0
- data/config/syntax/Literate Haskell.json +55 -0
- data/config/syntax/Logtalk.json +289 -0
- data/config/syntax/Lua.json +146 -0
- data/config/syntax/M.json +744 -0
- data/config/syntax/MEL.json +161 -0
- data/config/syntax/MIPS.json +114 -0
- data/config/syntax/Mail.json +224 -0
- data/config/syntax/Makefile.json +66 -0
- data/config/syntax/Markdown.json +644 -0
- data/config/syntax/Modula-3.json +80 -0
- data/config/syntax/Movable Type.json +348 -0
- data/config/syntax/OCaml.json +1391 -0
- data/config/syntax/Objective-C++.json +21 -0
- data/config/syntax/OpenGL.json +24 -0
- data/config/syntax/PHP.json +2184 -0
- data/config/syntax/Pascal.json +128 -0
- data/config/syntax/Perl.json +2091 -0
- data/config/syntax/Plain text.json +49 -0
- data/config/syntax/Processing.json +188 -0
- data/config/syntax/Quake3 Config.json +54 -0
- data/config/syntax/R.json +157 -0
- data/config/syntax/Rez.json +137 -0
- data/config/syntax/Ruby on Rails.json +170 -0
- data/config/syntax/Ruby.json +1753 -0
- data/config/syntax/SQL (Rails).json +31 -0
- data/config/syntax/SQL.json +435 -0
- data/config/syntax/SWIG.json +96 -0
- data/config/syntax/Scheme.json +359 -0
- data/config/syntax/Shell-Unix-Generic.json +1198 -0
- data/config/syntax/Slate.json +265 -0
- data/config/syntax/Smarty.json +110 -0
- data/config/syntax/Standard ML.json +322 -0
- data/config/syntax/Subversion commit message.json +62 -0
- data/config/syntax/Tcl.json +278 -0
- data/config/syntax/TeX Math.json +83 -0
- data/config/syntax/TeX.json +157 -0
- data/config/syntax/Textile.json +273 -0
- data/config/syntax/Twiki.json +436 -0
- data/config/syntax/Vectorscript.json +97 -0
- data/config/syntax/XML strict.json +148 -0
- data/config/syntax/XML.json +301 -0
- data/config/syntax/XSL.json +96 -0
- data/config/syntax/YAML.json +293 -0
- data/config/syntax/iCalendar.json +51 -0
- data/config/syntax/reStructuredText.json +403 -0
- data/config/theme/Active4D.json +260 -0
- data/config/theme/All Hallow's Eve.json +171 -0
- data/config/theme/Amy.json +359 -0
- data/config/theme/BBEdit.json +269 -0
- data/config/theme/Bespin.json +322 -0
- data/config/theme/Blackboard.json +215 -0
- data/config/theme/BoysAndGirls01.json +156 -0
- data/config/theme/Brilliance Black.json +1695 -0
- data/config/theme/Brilliance Dull.json +1451 -0
- data/config/theme/Classic Modified.json +288 -0
- data/config/theme/Cobalt.json +345 -0
- data/config/theme/Cool Glow.json +215 -0
- data/config/theme/Dawn.json +258 -0
- data/config/theme/Eiffel.json +270 -0
- data/config/theme/Espresso Libre.json +247 -0
- data/config/theme/Fluidvision.json +272 -0
- data/config/theme/IDLE.json +159 -0
- data/config/theme/LAZY.json +178 -0
- data/config/theme/Mac Classic.json +277 -0
- data/config/theme/MagicWB (Amiga).json +231 -0
- data/config/theme/Merbivore Soft.json +181 -0
- data/config/theme/Merbivore.json +181 -0
- data/config/theme/Monokai.json +177 -0
- data/config/theme/Notepad2.json +166 -0
- data/config/theme/Pastels on Dark.json +437 -0
- data/config/theme/RubyBlue.json +226 -0
- data/config/theme/Sin City 2.json +361 -0
- data/config/theme/Slate.json +270 -0
- data/config/theme/Slush & Poppies.json +232 -0
- data/config/theme/SpaceCadet.json +143 -0
- data/config/theme/Sunburst.json +415 -0
- data/config/theme/Twilight BG FG.json +633 -0
- data/config/theme/Twilight.json +321 -0
- data/config/theme/Whys Poignant.json +119 -0
- data/config/theme/Zenburnesque.json +237 -0
- data/config/theme/barf.json +155 -0
- data/config/theme/fake.json +418 -0
- data/config/theme/happydeluxe.json +114 -0
- data/config/theme/iLife 05.json +393 -0
- data/config/theme/iPlastic.json +177 -0
- data/config/theme/mintBlue Dark.json +414 -0
- data/config/theme/mintBlue.json +415 -0
- data/config/theme/monoindustrial.json +276 -0
- data/config/theme/starlight.json +67 -0
- data/config/tutorial +74 -0
- data/config/welcome +115 -0
- data/help/index.verh +14 -0
- data/lib/ver.rb +156 -0
- data/lib/ver/entry.rb +97 -0
- data/lib/ver/keymap.rb +96 -0
- data/lib/ver/layout.rb +107 -0
- data/lib/ver/methods.rb +19 -0
- data/lib/ver/methods/completion.rb +116 -0
- data/lib/ver/methods/control.rb +340 -0
- data/lib/ver/methods/insert.rb +6 -0
- data/lib/ver/methods/move.rb +65 -0
- data/lib/ver/methods/search.rb +33 -0
- data/lib/ver/methods/select.rb +145 -0
- data/lib/ver/methods/views.rb +21 -0
- data/lib/ver/mode.rb +160 -0
- data/lib/ver/options.rb +207 -0
- data/lib/ver/plist.rb +106 -0
- data/lib/ver/status.rb +67 -0
- data/lib/ver/syntax.rb +68 -0
- data/lib/ver/syntax/detector.rb +53 -0
- data/lib/ver/syntax/processor.rb +48 -0
- data/lib/ver/text.rb +374 -0
- data/lib/ver/textpow.rb +357 -0
- data/lib/ver/theme.rb +162 -0
- data/lib/ver/vendor/fuzzy_file_finder.rb +340 -0
- data/lib/ver/view.rb +163 -0
- data/lib/ver/view/entry.rb +28 -0
- data/lib/ver/view/list.rb +137 -0
- data/lib/ver/view/list/buffer.rb +27 -0
- data/lib/ver/view/list/fuzzy_file_finder.rb +44 -0
- data/lib/ver/view/list/syntax.rb +13 -0
- data/lib/ver/view/list/theme.rb +13 -0
- data/spec/keymap.rb +224 -0
- data/tasks/bacon.rake +49 -0
- data/tasks/changelog.rake +18 -0
- data/tasks/gem.rake +22 -0
- data/tasks/gem_installer.rake +76 -0
- data/tasks/grancher.rake +12 -0
- data/tasks/install_dependencies.rake +6 -0
- data/tasks/manifest.rake +4 -0
- data/tasks/plist2json.rake +35 -0
- data/tasks/rcov.rake +18 -0
- data/tasks/release.rake +12 -0
- data/tasks/reversion.rake +8 -0
- data/tasks/syntax_list.rake +31 -0
- data/ver.gemspec +29 -0
- metadata +241 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"css",
|
|
5
|
+
"css.erb"
|
|
6
|
+
],
|
|
7
|
+
"foldingStartMarker": "\/\\*\\*(?!\\*)|\\{\\s*($|\/\\*(?!.*?\\*\/.*\\S))",
|
|
8
|
+
"foldingStopMarker": "(?<!\\*)\\*\\*\/|^\\s*\\}",
|
|
9
|
+
"keyEquivalent": "^~C",
|
|
10
|
+
"name": "CSS",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"begin": "^(?=\\s*[:.*#a-zA-Z])",
|
|
14
|
+
"end": "(?=\\{)",
|
|
15
|
+
"name": "meta.selector.css",
|
|
16
|
+
"patterns": [
|
|
17
|
+
{
|
|
18
|
+
"include": "#comment-block"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"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",
|
|
22
|
+
"name": "entity.name.tag.css"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"captures": {
|
|
26
|
+
"1": {
|
|
27
|
+
"name": "punctuation.definition.entity.css"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"match": "(\\.)[a-zA-Z0-9_-]+",
|
|
31
|
+
"name": "entity.other.attribute-name.class.css"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"captures": {
|
|
35
|
+
"1": {
|
|
36
|
+
"name": "punctuation.definition.entity.css"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"match": "(#)[a-zA-Z][a-zA-Z0-9_-]*",
|
|
40
|
+
"name": "entity.other.attribute-name.id.css"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"match": "\\*",
|
|
44
|
+
"name": "entity.name.tag.wildcard.css"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"captures": {
|
|
48
|
+
"1": {
|
|
49
|
+
"name": "punctuation.definition.entity.css"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"match": "(:+)\\b(after|before|first-child|first-letter|first-line|selection)\\b",
|
|
53
|
+
"name": "entity.other.attribute-name.pseudo-element.css"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"captures": {
|
|
57
|
+
"1": {
|
|
58
|
+
"name": "punctuation.definition.entity.css"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"match": "(:)\\b(active|hover|link|visited|focus)\\b",
|
|
62
|
+
"name": "entity.other.attribute-name.pseudo-class.css"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"captures": {
|
|
66
|
+
"1": {
|
|
67
|
+
"name": "punctuation.definition.entity.css"
|
|
68
|
+
},
|
|
69
|
+
"2": {
|
|
70
|
+
"name": "entity.other.attribute-name.attribute.css"
|
|
71
|
+
},
|
|
72
|
+
"3": {
|
|
73
|
+
"name": "punctuation.separator.operator.css"
|
|
74
|
+
},
|
|
75
|
+
"4": {
|
|
76
|
+
"name": "string.unquoted.attribute-value.css"
|
|
77
|
+
},
|
|
78
|
+
"5": {
|
|
79
|
+
"name": "string.quoted.double.attribute-value.css"
|
|
80
|
+
},
|
|
81
|
+
"6": {
|
|
82
|
+
"name": "punctuation.definition.string.begin.css"
|
|
83
|
+
},
|
|
84
|
+
"7": {
|
|
85
|
+
"name": "punctuation.definition.string.end.css"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
|
|
89
|
+
"name": "meta.attribute-selector.css"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"include": "#comment-block"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"begin": "^\\s*((@)import\\b)",
|
|
98
|
+
"captures": {
|
|
99
|
+
"1": {
|
|
100
|
+
"name": "keyword.control.at-rule.import.css"
|
|
101
|
+
},
|
|
102
|
+
"2": {
|
|
103
|
+
"name": "punctuation.definition.keyword.css"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"end": "\\s*((?=;|\\}))",
|
|
107
|
+
"name": "meta.at-rule.import.css",
|
|
108
|
+
"patterns": [
|
|
109
|
+
{
|
|
110
|
+
"include": "#string-double"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"begin": "(url)\\s*(\\()\\s*",
|
|
114
|
+
"beginCaptures": {
|
|
115
|
+
"1": {
|
|
116
|
+
"name": "support.function.url.css"
|
|
117
|
+
},
|
|
118
|
+
"2": {
|
|
119
|
+
"name": "punctuation.section.function.css"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"end": "\\s*(\\))\\s*",
|
|
123
|
+
"endCaptures": {
|
|
124
|
+
"1": {
|
|
125
|
+
"name": "punctuation.section.function.css"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"patterns": [
|
|
129
|
+
{
|
|
130
|
+
"match": "[^'\") \\t]+",
|
|
131
|
+
"name": "variable.parameter.url.css"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"include": "#string-single"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"include": "#string-double"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"begin": "^\\s*((@)media)\\s+(((all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)\\s*,?\\s*)+)\\s*{",
|
|
145
|
+
"captures": {
|
|
146
|
+
"1": {
|
|
147
|
+
"name": "keyword.control.at-rule.media.css"
|
|
148
|
+
},
|
|
149
|
+
"2": {
|
|
150
|
+
"name": "punctuation.definition.keyword.css"
|
|
151
|
+
},
|
|
152
|
+
"3": {
|
|
153
|
+
"name": "support.constant.media.css"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"end": "\\s*((?=;|\\}))",
|
|
157
|
+
"name": "meta.at-rule.media.css",
|
|
158
|
+
"patterns": [
|
|
159
|
+
{
|
|
160
|
+
"include": "$self"
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"begin": "\\{",
|
|
166
|
+
"captures": {
|
|
167
|
+
"0": {
|
|
168
|
+
"name": "punctuation.section.property-list.css"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"end": "\\}",
|
|
172
|
+
"name": "meta.property-list.css",
|
|
173
|
+
"patterns": [
|
|
174
|
+
{
|
|
175
|
+
"include": "#comment-block"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"begin": "(?<![-a-z])(?=[-a-z])",
|
|
179
|
+
"end": "$|(?![-a-z])",
|
|
180
|
+
"name": "meta.property-name.css",
|
|
181
|
+
"patterns": [
|
|
182
|
+
{
|
|
183
|
+
"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",
|
|
184
|
+
"name": "support.type.property-name.css"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"begin": "(:)\\s*",
|
|
190
|
+
"beginCaptures": {
|
|
191
|
+
"1": {
|
|
192
|
+
"name": "punctuation.separator.key-value.css"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"end": "\\s*(;|(?=\\}))",
|
|
196
|
+
"endCaptures": {
|
|
197
|
+
"1": {
|
|
198
|
+
"name": "punctuation.terminator.rule.css"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"name": "meta.property-value.css",
|
|
202
|
+
"patterns": [
|
|
203
|
+
{
|
|
204
|
+
"match": "\\b(absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|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-latin|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|zero)\\b",
|
|
205
|
+
"name": "support.constant.property-value.css"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"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)",
|
|
209
|
+
"name": "support.constant.font-name.css"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"comment": "http:\/\/www.w3.org\/TR\/CSS21\/syndata.html#value-def-color",
|
|
213
|
+
"match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b",
|
|
214
|
+
"name": "support.constant.color.w3c-standard-color-name.css"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"comment": "These colours are mostly recognised but will not validate. ref: http:\/\/www.w3schools.com\/css\/css_colornames.asp",
|
|
218
|
+
"match": "\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b",
|
|
219
|
+
"name": "invalid.deprecated.color.w3c-non-standard-color-name.css"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"match": "(-|\\+)?\\s*[0-9]+(\\.[0-9]+)?",
|
|
223
|
+
"name": "constant.numeric.css"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"match": "(?<=[\\d])(px|pt|cm|mm|in|em|ex|pc)\\b|%",
|
|
227
|
+
"name": "keyword.other.unit.css"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"captures": {
|
|
231
|
+
"1": {
|
|
232
|
+
"name": "punctuation.definition.constant.css"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
|
236
|
+
"name": "constant.other.color.rgb-value.css"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"include": "#string-double"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"include": "#string-single"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"begin": "(rgb|url|attr|counter|counters)\\s*(\\()",
|
|
246
|
+
"beginCaptures": {
|
|
247
|
+
"1": {
|
|
248
|
+
"name": "support.function.misc.css"
|
|
249
|
+
},
|
|
250
|
+
"2": {
|
|
251
|
+
"name": "punctuation.section.function.css"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"end": "(\\))",
|
|
255
|
+
"endCaptures": {
|
|
256
|
+
"1": {
|
|
257
|
+
"name": "punctuation.section.function.css"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"patterns": [
|
|
261
|
+
{
|
|
262
|
+
"include": "#string-single"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"include": "#string-double"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"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)",
|
|
269
|
+
"name": "constant.other.color.rgb-value.css"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"match": "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%",
|
|
273
|
+
"name": "constant.other.color.rgb-percentage.css"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"match": "[^'\") \\t]+",
|
|
277
|
+
"name": "variable.parameter.misc.css"
|
|
278
|
+
}
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"match": "\\!\\s*important",
|
|
283
|
+
"name": "keyword.other.important.css"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"repository": {
|
|
291
|
+
"comment-block": {
|
|
292
|
+
"begin": "\/\\*",
|
|
293
|
+
"captures": {
|
|
294
|
+
"0": {
|
|
295
|
+
"name": "punctuation.definition.comment.css"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"end": "\\*\/",
|
|
299
|
+
"name": "comment.block.css"
|
|
300
|
+
},
|
|
301
|
+
"string-double": {
|
|
302
|
+
"begin": "\"",
|
|
303
|
+
"beginCaptures": {
|
|
304
|
+
"0": {
|
|
305
|
+
"name": "punctuation.definition.string.begin.css"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"end": "\"",
|
|
309
|
+
"endCaptures": {
|
|
310
|
+
"0": {
|
|
311
|
+
"name": "punctuation.definition.string.end.css"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"name": "string.quoted.double.css",
|
|
315
|
+
"patterns": [
|
|
316
|
+
{
|
|
317
|
+
"match": "\\\\.",
|
|
318
|
+
"name": "constant.character.escape.css"
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"string-single": {
|
|
323
|
+
"begin": "'",
|
|
324
|
+
"beginCaptures": {
|
|
325
|
+
"0": {
|
|
326
|
+
"name": "punctuation.definition.string.begin.css"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"end": "'",
|
|
330
|
+
"endCaptures": {
|
|
331
|
+
"0": {
|
|
332
|
+
"name": "punctuation.definition.string.end.css"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"name": "string.quoted.single.css",
|
|
336
|
+
"patterns": [
|
|
337
|
+
{
|
|
338
|
+
"match": "\\\\.",
|
|
339
|
+
"name": "constant.character.escape.css"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"scopeName": "source.css",
|
|
345
|
+
"uuid": "69AA0917-B7BB-11D9-A7E2-000D93C8BE28"
|
|
346
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"dot",
|
|
4
|
+
"DOT"
|
|
5
|
+
],
|
|
6
|
+
"foldingStartMarker": "\\{",
|
|
7
|
+
"foldingStopMarker": "\\}",
|
|
8
|
+
"keyEquivalent": "^~G",
|
|
9
|
+
"name": "Graphviz (DOT)",
|
|
10
|
+
"patterns": [
|
|
11
|
+
{
|
|
12
|
+
"match": "\\b(node|edge|graph|digraph|subgraph|strict)\\b",
|
|
13
|
+
"name": "storage.type.dot"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"match": "\\b(bottomlabel|color|comment|distortion|fillcolor|fixedsize|fontcolor|fontname|fontsize|group|height|label|layer|orientation|peripheries|regular|shape|shapefile|sides|skew|style|toplabel|URL|width|z)\\b",
|
|
17
|
+
"name": "support.constant.attribute.node.dot"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"match": "\\b(arrowhead|arrowsize|arrowtail|color|comment|constraint|decorate|dir|fontcolor|fontname|fontsize|headlabel|headport|headURL|label|labelangle|labeldistance|labelfloat|labelcolor|labelfontname|labelfontsize|layer|lhead|ltail|minlen|samehead|sametail|style|taillabel|tailport|tailURL|weight)\\b",
|
|
21
|
+
"name": "support.constant.attribute.edge.dot"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"match": "\\b(bgcolor|center|clusterrank|color|comment|compound|concentrate|fillcolor|fontname|fontpath|fontsize|label|labeljust|labelloc|layers|margin|mclimit|nodesep|nslimit|nslimit1|ordering|orientation|page|pagedir|quantum|rank|rankdir|ranksep|ratio|remincross|rotate|samplepoints|searchsize|size|style|URL)\\b",
|
|
25
|
+
"name": "support.constant.attribute.graph.dot"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"begin": "\"",
|
|
29
|
+
"beginCaptures": {
|
|
30
|
+
"0": {
|
|
31
|
+
"name": "punctuation.definition.string.begin.dot"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"end": "\"",
|
|
35
|
+
"endCaptures": {
|
|
36
|
+
"0": {
|
|
37
|
+
"name": "punctuation.definition.string.end.dot"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"name": "string.quoted.double.dot",
|
|
41
|
+
"patterns": [
|
|
42
|
+
{
|
|
43
|
+
"match": "\\\\.",
|
|
44
|
+
"name": "constant.character.escape.dot"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"captures": {
|
|
50
|
+
"1": {
|
|
51
|
+
"name": "punctuation.definition.comment.dot"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"match": "(\/\/).*$\\n?",
|
|
55
|
+
"name": "comment.line.double-slash.dot"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"captures": {
|
|
59
|
+
"1": {
|
|
60
|
+
"name": "punctuation.definition.comment.dot"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"match": "(#).*$\\n?",
|
|
64
|
+
"name": "comment.line.number-sign.dot"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"begin": "\/\\*",
|
|
68
|
+
"captures": {
|
|
69
|
+
"0": {
|
|
70
|
+
"name": "punctuation.definition.comment.dot"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"end": "\\*\/",
|
|
74
|
+
"name": "comment.block.dot"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"scopeName": "source.dot",
|
|
78
|
+
"uuid": "1A53D54E-6B1D-11D9-A006-000D93589AF6"
|
|
79
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"diff",
|
|
4
|
+
"patch"
|
|
5
|
+
],
|
|
6
|
+
"firstLineMatch": "(?x)^\n\t\t(===\\ modified\\ file\n\t\t|==== \\s* \/\/ .+ \\s - \\s .+ \\s+ ====\n\t\t|Index:\\ \n\t\t|---\\ [^%]\n\t\t|\\*\\*\\*.*\\d{4}\\s*$\n\t\t|\\d+(,\\d+)* (a|d|c) \\d+(,\\d+)* $\n\t\t|diff\\ --git\\ \n\t\t)\n\t",
|
|
7
|
+
"foldingStartMarker": "^\\+\\+\\+",
|
|
8
|
+
"foldingStopMarker": "^---|^$",
|
|
9
|
+
"keyEquivalent": "^~D",
|
|
10
|
+
"name": "Diff",
|
|
11
|
+
"patterns": [
|
|
12
|
+
{
|
|
13
|
+
"captures": {
|
|
14
|
+
"1": {
|
|
15
|
+
"name": "punctuation.definition.separator.diff"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"match": "^((\\*{15})|(={67})|(-{3}))$\\n?",
|
|
19
|
+
"name": "meta.separator.diff"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"match": "^\\d+(,\\d+)*(a|d|c)\\d+(,\\d+)*$\\n?",
|
|
23
|
+
"name": "meta.diff.range.normal"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"captures": {
|
|
27
|
+
"1": {
|
|
28
|
+
"name": "punctuation.definition.range.diff"
|
|
29
|
+
},
|
|
30
|
+
"2": {
|
|
31
|
+
"name": "meta.toc-list.line-number.diff"
|
|
32
|
+
},
|
|
33
|
+
"3": {
|
|
34
|
+
"name": "punctuation.definition.range.diff"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"match": "^(@@)\\s*(.+?)\\s*(@@)($\\n?)?",
|
|
38
|
+
"name": "meta.diff.range.unified"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"captures": {
|
|
42
|
+
"3": {
|
|
43
|
+
"name": "punctuation.definition.range.diff"
|
|
44
|
+
},
|
|
45
|
+
"4": {
|
|
46
|
+
"name": "punctuation.definition.range.diff"
|
|
47
|
+
},
|
|
48
|
+
"6": {
|
|
49
|
+
"name": "punctuation.definition.range.diff"
|
|
50
|
+
},
|
|
51
|
+
"7": {
|
|
52
|
+
"name": "punctuation.definition.range.diff"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"match": "^(((\\-{3}) .+ (\\-{4}))|((\\*{3}) .+ (\\*{4})))$\\n?",
|
|
56
|
+
"name": "meta.diff.range.context"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"captures": {
|
|
60
|
+
"4": {
|
|
61
|
+
"name": "punctuation.definition.from-file.diff"
|
|
62
|
+
},
|
|
63
|
+
"6": {
|
|
64
|
+
"name": "punctuation.definition.from-file.diff"
|
|
65
|
+
},
|
|
66
|
+
"7": {
|
|
67
|
+
"name": "punctuation.definition.from-file.diff"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"match": "(^(((-{3}) .+)|((\\*{3}) .+))$\\n?|^(={4}) .+(?= - ))",
|
|
71
|
+
"name": "meta.diff.header.from-file"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"captures": {
|
|
75
|
+
"2": {
|
|
76
|
+
"name": "punctuation.definition.to-file.diff"
|
|
77
|
+
},
|
|
78
|
+
"3": {
|
|
79
|
+
"name": "punctuation.definition.to-file.diff"
|
|
80
|
+
},
|
|
81
|
+
"4": {
|
|
82
|
+
"name": "punctuation.definition.to-file.diff"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"match": "(^(\\+{3}) .+$\\n?| (-) .* (={4})$\\n?)",
|
|
86
|
+
"name": "meta.diff.header.to-file"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"captures": {
|
|
90
|
+
"3": {
|
|
91
|
+
"name": "punctuation.definition.inserted.diff"
|
|
92
|
+
},
|
|
93
|
+
"6": {
|
|
94
|
+
"name": "punctuation.definition.inserted.diff"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"match": "^(((>)( .*)?)|((\\+).*))$\\n?",
|
|
98
|
+
"name": "markup.inserted.diff"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"captures": {
|
|
102
|
+
"1": {
|
|
103
|
+
"name": "punctuation.definition.inserted.diff"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"match": "^(!).*$\\n?",
|
|
107
|
+
"name": "markup.changed.diff"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"captures": {
|
|
111
|
+
"3": {
|
|
112
|
+
"name": "punctuation.definition.inserted.diff"
|
|
113
|
+
},
|
|
114
|
+
"6": {
|
|
115
|
+
"name": "punctuation.definition.inserted.diff"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"match": "^(((<)( .*)?)|((-).*))$\\n?",
|
|
119
|
+
"name": "markup.deleted.diff"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"captures": {
|
|
123
|
+
"1": {
|
|
124
|
+
"name": "punctuation.separator.key-value.diff"
|
|
125
|
+
},
|
|
126
|
+
"2": {
|
|
127
|
+
"name": "meta.toc-list.file-name.diff"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"match": "^Index(:) (.+)$\\n?",
|
|
131
|
+
"name": "meta.diff.index"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"scopeName": "source.diff",
|
|
135
|
+
"uuid": "7E848FF4-708E-11D9-97B4-0011242E4184"
|
|
136
|
+
}
|