mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-01-26 15:11:55 +00:00
256 lines
6.1 KiB
Plaintext
256 lines
6.1 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>keyEquivalent</key>
|
|
<string>^~I</string>
|
|
<key>name</key>
|
|
<string>Io Repl</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>meta.empty-parenthesis.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>comment</key>
|
|
<string>we match this to overload return inside () --Allan; scoping rules for what gets the scope have changed, so we now group the ) instead of the ( -- Rob</string>
|
|
<key>match</key>
|
|
<string>\((\))</string>
|
|
</dict>
|
|
<dict>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>meta.comma-parenthesis.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>comment</key>
|
|
<string>We want to do the same for ,) -- Seckar; same as above -- Rob</string>
|
|
<key>match</key>
|
|
<string>\,(\))</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(if|ifTrue|ifFalse|ifTrueIfFalse|for|loop|reverseForeach|foreach|map|continue|break|while|do|return)\b</string>
|
|
<key>name</key>
|
|
<string>keyword.control.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>/\*</string>
|
|
<key>captures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.comment.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>\*/</string>
|
|
<key>name</key>
|
|
<string>comment.block.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>(^[ \t]+)?(?=//)</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.whitespace.comment.leading.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>(?!\G)</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>//</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.comment.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>\n</string>
|
|
<key>name</key>
|
|
<string>comment.line.double-slash.io</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>(^[ \t]+)?(?=#)</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>1</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.whitespace.comment.leading.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>(?!\G)</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>#</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.comment.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>\n</string>
|
|
<key>name</key>
|
|
<string>comment.line.number-sign.io</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>comment</key>
|
|
<string>I wonder if some of this isn't variable.other.language? --Allan; scoping this as variable.language to match Objective-C's handling of 'self', which is inconsistent with C++'s handling of 'this' but perhaps intentionally so -- Rob</string>
|
|
<key>match</key>
|
|
<string>\b(self|sender|target|proto|protos|parent)\b</string>
|
|
<key>name</key>
|
|
<string>variable.language.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string><=|>=|=|:=|\*|\||\|\||\+|-|/|&|&&|>|<|\?|@|@@|\b(and|or)\b</string>
|
|
<key>name</key>
|
|
<string>keyword.operator.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\bGL[\w_]+\b</string>
|
|
<key>name</key>
|
|
<string>constant.other.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b([A-Z](\w+)?)\b</string>
|
|
<key>name</key>
|
|
<string>support.class.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(clone|call|init|method|list|vector|block|(\w+(?=\s*\()))\b</string>
|
|
<key>name</key>
|
|
<string>support.function.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(gl(u|ut)?[A-Z]\w+)\b</string>
|
|
<key>name</key>
|
|
<string>support.function.open-gl.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>"""</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>"""</string>
|
|
<key>endCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>name</key>
|
|
<string>string.quoted.triple.io</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\\.</string>
|
|
<key>name</key>
|
|
<string>constant.character.escape.io</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>begin</key>
|
|
<string>"</string>
|
|
<key>beginCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.begin.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>end</key>
|
|
<string>"</string>
|
|
<key>endCaptures</key>
|
|
<dict>
|
|
<key>0</key>
|
|
<dict>
|
|
<key>name</key>
|
|
<string>punctuation.definition.string.end.io</string>
|
|
</dict>
|
|
</dict>
|
|
<key>name</key>
|
|
<string>string.quoted.double.io</string>
|
|
<key>patterns</key>
|
|
<array>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\\.</string>
|
|
<key>name</key>
|
|
<string>constant.character.escape.io</string>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\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</string>
|
|
<key>name</key>
|
|
<string>constant.numeric.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>(Lobby)\b</string>
|
|
<key>name</key>
|
|
<string>variable.other.global.io</string>
|
|
</dict>
|
|
<dict>
|
|
<key>match</key>
|
|
<string>\b(TRUE|true|FALSE|false|NULL|null|Null|Nil|nil|YES|NO)\b</string>
|
|
<key>name</key>
|
|
<string>constant.language.io</string>
|
|
</dict>
|
|
</array>
|
|
<key>scopeName</key>
|
|
<string>source.io</string>
|
|
<key>uuid</key>
|
|
<string>52E416F3-9DF2-4579-8BC6-C54EBEF94423</string>
|
|
</dict>
|
|
</plist>
|