mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
113 lines
No EOL
3.3 KiB
Text
113 lines
No EOL
3.3 KiB
Text
<?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>name</key>
|
|
<string>zmodel</string>
|
|
<key>scopeName</key>
|
|
<string>source.zmodel</string>
|
|
<key>fileTypes</key>
|
|
<array>
|
|
<string>zmodel</string>
|
|
</array>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>include</key>
|
|
<string>#comments</string>
|
|
</dict>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>keyword.control.zmodel</string>
|
|
<key>match</key>
|
|
<string>\b(Any|BigInt|Boolean|Bytes|ContextType|DateTime|Decimal|FieldReference|Float|Int|Json|Null|Object|String|TransitiveFieldReference|Unsupported|abstract|attribute|datasource|enum|extends|false|function|generator|import|in|model|null|plugin|this|true|type|view)\b</string>
|
|
</dict>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>string.quoted.double.zmodel</string>
|
|
<key>begin</key>
|
|
<string>"</string>
|
|
<key>end</key>
|
|
<string>"</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>include</key>
|
|
<string>#string-character-escape</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>string.quoted.single.zmodel</string>
|
|
<key>begin</key>
|
|
<string>'</string>
|
|
<key>end</key>
|
|
<string>'</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>include</key>
|
|
<string>#string-character-escape</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<key>repository</key>
|
|
<dict>
|
|
<key>comments</key>
|
|
<dict>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>comment.block.zmodel</string>
|
|
<key>begin</key>
|
|
<string>/\*</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.comment.zmodel</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>\*/</string>
|
|
<key>endCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.comment.zmodel</string>
|
|
</dict>
|
|
</dict>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>//</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.whitespace.comment.leading.zmodel</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>(?=$)</string>
|
|
<key>name</key>
|
|
<string>comment.line.zmodel</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<key>string-character-escape</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>constant.character.escape.zmodel</string>
|
|
<key>match</key>
|
|
<string>\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\{[0-9A-Fa-f]+\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)</string>
|
|
</dict>
|
|
</dict>
|
|
</dict>
|
|
</plist> |