352 lines
12 KiB
Plaintext
352 lines
12 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>comment</key>
|
|
<string>Carto</string>
|
|
<key>fileTypes</key>
|
|
<array>
|
|
<string>mss</string>
|
|
</array>
|
|
<key>foldingStartMarker</key>
|
|
<string>/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))</string>
|
|
<key>foldingStopMarker</key>
|
|
<string>(?<!\*)\*\*/|^\s*\}</string>
|
|
<key>keyEquivalent</key>
|
|
<string>^~C</string>
|
|
<key>name</key>
|
|
<string>Carto</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(Map)\b</string>
|
|
<key>name</key>
|
|
<string>keyword.control.carto.elements</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>"</string>
|
|
<key>end</key>
|
|
<string>"</string>
|
|
<key>name</key>
|
|
<string>string.quoted.double.carto</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\\.</string>
|
|
<key>name</key>
|
|
<string>constant.character.escaped.carto</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>'</string>
|
|
<key>end</key>
|
|
<string>'</string>
|
|
<key>name</key>
|
|
<string>string.quoted.single.carto</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\\.</string>
|
|
<key>name</key>
|
|
<string>constant.character.escaped.carto</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.entity.carto</string>
|
|
</dict>
|
|
<key>2</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>entity.other.class.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>(\.)([a-zA-Z0-9_-]+)</string>
|
|
<key>name</key>
|
|
<string>meta.selector.class.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.entity.carto</string>
|
|
</dict>
|
|
<key>2</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>keyword.control.id.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>(#)([a-zA-Z0-9_-]+)</string>
|
|
<key>name</key>
|
|
<string>meta.selector.id.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.entity.carto</string>
|
|
</dict>
|
|
<key>2</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>entity.other.attachment.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>(::)([a-zA-Z0-9_/-]+)\b</string>
|
|
<key>name</key>
|
|
<string>meta.selector.attachment.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.entity.carto</string>
|
|
</dict>
|
|
<key>10</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>string.quoted.attribute-value.carto</string>
|
|
</dict>
|
|
<key>11</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.carto</string>
|
|
</dict>
|
|
<key>12</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.carto</string>
|
|
</dict>
|
|
<key>13</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.carto</string>
|
|
</dict>
|
|
<key>14</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.carto</string>
|
|
</dict>
|
|
<key>15</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.entity.carto</string>
|
|
</dict>
|
|
<key>2</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>meta.tag.zoomfilter.carto</string>
|
|
</dict>
|
|
<key>3</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>variable.other.carto</string>
|
|
</dict>
|
|
<key>4</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.carto</string>
|
|
</dict>
|
|
<key>5</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.carto</string>
|
|
</dict>
|
|
<key>6</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.carto</string>
|
|
</dict>
|
|
<key>7</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.carto</string>
|
|
</dict>
|
|
<key>8</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.separator.operator.carto</string>
|
|
</dict>
|
|
<key>9</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>constant.numeric.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>(\[)\s*(?:(zoom)|((")(?:[^"\\]|\\.)*(")|(')(?:[^'\\]|\\.)*(')|[a-zA-Z0-9_][a-zA-Z0-9_-]*))\s*(!?=|>=?|<=?)\s*(?:(\d+)|((")(?:[^"\\]|\\.)*(")|(')(?:[^'\\]|\\.)*(')|[a-zA-Z0-9_][a-zA-Z0-9_-]*))\s*(\])</string>
|
|
<key>name</key>
|
|
<string>meta.attribute-selector.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>url\(</string>
|
|
<key>contentName</key>
|
|
<string>variable.parameter.url</string>
|
|
<key>end</key>
|
|
<string>\)</string>
|
|
<key>name</key>
|
|
<string>support.function.any-method.builtin.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b</string>
|
|
<key>name</key>
|
|
<string>constant.other.rgb-value.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>/\*</string>
|
|
<key>end</key>
|
|
<string>\*/</string>
|
|
<key>name</key>
|
|
<string>comment.block.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>(-|\+)?\s*[0-9]+(\.[0-9]+)?</string>
|
|
<key>name</key>
|
|
<string>constant.numeric.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>(?<=[\d])(px)\b|%</string>
|
|
<key>name</key>
|
|
<string>keyword.unit.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>keyword.control.at-rule.import.carto</string>
|
|
</dict>
|
|
<key>2</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.keyword.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>^\s*((@)import\b)</string>
|
|
<key>name</key>
|
|
<string>meta.at-rule.import.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>support.type.property-name.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>\b(background-color|background-image|srs|buffer|font-directory|polygon-fill|polygon-gamma|polygon-opacity|polygon-meta-output|polygon-meta-writer|line-color|line-width|line-opacity|line-join|line-cap|line-gamma|line-dasharray|line-meta-output|line-meta-writer|marker-file|marker-opacity|marker-line-color|marker-line-width|marker-line-opacity|marker-placement|marker-type|marker-width|marker-height|marker-fill|marker-allow-overlap|marker-spacing|marker-max-error|marker-transform|marker-meta-output|marker-meta-writer|shield-name|shield-face-name|shield-size|shield-fill|shield-min-distance|shield-halo-fill|shield-halo-radius|shield-spacing|shield-character-spacing|shield-line-spacing|shield-file|shield-width|shield-height|shield-type|shield-text-dx|shield-text-dy|shield-dx|shield-dy|shield-meta-output|shield-meta-writer|line-pattern-file|line-pattern-width|line-pattern-height|line-pattern-type|line-pattern-meta-output|line-pattern-meta-writer|polygon-pattern-file|polygon-pattern-width|polygon-pattern-height|polygon-pattern-type|polygon-pattern-meta-output|polygon-pattern-meta-writer|raster-opacity|raster-comp-op|raster-scaling|point-file|point-width|point-height|point-type|point-allow-overlap|point-placement|point-meta-output|point-meta-writer|text-name|text-face-name|text-size|text-ratio|text-wrap-width|text-spacing|text-character-spacing|text-line-spacing|text-label-position-tolerance|text-max-char-angle-delta|text-fill|text-halo-fill|text-halo-radius|text-dx|text-dy|text-avoid-edges|text-min-distance|text-min-padding|text-allow-overlap|text-placement|text-placement-type|text-placements|text-transform|text-meta-output|text-meta-writer|building-fill|building-fill-opacity|building-height)\s*:</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(miter|round|bevel|butt|round|square|point|line|arrow|ellipse|png|jpg|svg|normal|grain_merge|grain_merge2|multiply|multiply2|divide|divide2|screen|hard_light|near|bilinear|bilinear8|centroid|interior|point|line|vertex|interior|none|uppercase|lowercase)\b</string>
|
|
<key>name</key>
|
|
<string>meta.property-value.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>comment</key>
|
|
<string>http://www.w3.org/TR/CSS21/syndata.html#value-def-color</string>
|
|
<key>match</key>
|
|
<string>\b(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|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|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|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|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent)\b</string>
|
|
<key>name</key>
|
|
<string>constant.color.w3c-standard-color-name.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(saturate|desaturate|lighten|darken|grayscale)\b</string>
|
|
<key>name</key>
|
|
<string>support.function.any-method.builtin.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(rgb|rgba|hsl|hsla|url)\b</string>
|
|
<key>name</key>
|
|
<string>support.function.any-method.builtin.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>support.function.carto</string>
|
|
</dict>
|
|
</dict>
|
|
<key>match</key>
|
|
<string>(\.[a-zA-Z0-9_-]+)\s*(;|\()</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>//</string>
|
|
<key>end</key>
|
|
<string>$\n?</string>
|
|
<key>name</key>
|
|
<string>comment.line.double-slash.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>@[a-zA-Z0-9_-][\w-]*</string>
|
|
<key>name</key>
|
|
<string>variable.other.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|\^=|\/\b</string>
|
|
<key>name</key>
|
|
<string>keyword.operator.carto</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\{|\}</string>
|
|
<key>name</key>
|
|
<string>meta.brace.curly.js</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\(|\)</string>
|
|
<key>name</key>
|
|
<string>meta.brace.round.js</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\[|\]</string>
|
|
<key>name</key>
|
|
<string>meta.brace.square.js</string>
|
|
</dict>
|
|
</array>
|
|
<key>scopeName</key>
|
|
<string>source.css.carto</string>
|
|
<key>uuid</key>
|
|
<string>43F4EF91-F880-4CE7-A4C8-02DA726BC5FF</string>
|
|
</dict>
|
|
</plist>
|