urbit/extras/hoonSublime/hoon.tmLanguage
2015-10-22 10:14:16 -07:00

121 lines
2.7 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>fileTypes</key>
<array>
<string>hoon</string>
<string>hook</string>
</array>
<key>name</key>
<string>hoon</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>::</string>
<key>comment</key>
<string>comment</string>
<key>end</key>
<string>\n</string>
<key>name</key>
<string>comment.line.hoon</string>
</dict>
<dict>
<key>begin</key>
<string>\s*"""</string>
<key>comment</key>
<string>doqbloq</string>
<key>end</key>
<string>\s*"""</string>
<key>name</key>
<string>string.double.hoon</string>
</dict>
<dict>
<key>begin</key>
<string>\s*'''</string>
<key>comment</key>
<string>soqbloq</string>
<key>end</key>
<string>\s*'''</string>
<key>name</key>
<string>string.double.hoon</string>
</dict>
<dict>
<key>begin</key>
<string>\"</string>
<key>comment</key>
<string>tape</string>
<key>end</key>
<string>\"</string>
<key>name</key>
<string>string.double.hoon</string>
</dict>
<dict>
<key>begin</key>
<string>\'</string>
<key>comment</key>
<string>cord</string>
<key>end</key>
<string>\'</string>
<key>name</key>
<string>string.single.hoon</string>
</dict>
<dict>
<key>comment</key>
<string>arm</string>
<key>match</key>
<string>[a-z]([a-z0-9-]*[a-z0-9])?/</string>
<key>name</key>
<string>constant.character.hoon</string>
</dict>
<dict>
<key>comment</key>
<string>arm</string>
<key>match</key>
<string>\+\+ [a-z]([a-z0-9-]*[a-z0-9])?</string>
<key>name</key>
<string>entity.name.function.hoon</string>
</dict>
<dict>
<key>comment</key>
<string>cube</string>
<key>match</key>
<string>%[a-z]([a-z0-9-]*[a-z0-9])?</string>
<key>name</key>
<string>constant.character.hoon</string>
</dict>
<dict>
<key>comment</key>
<string>odor</string>
<key>match</key>
<string>@[a-z]([a-z0-9-]*[a-z0-9])?</string>
<key>name</key>
<string>storage.type.hoon</string>
</dict>
<dict>
<key>comment</key>
<string>rune</string>
<key>match</key>
<string>[+\-|$%:.#^~;=?!_,&amp;@\/&lt;&gt;%*]</string>
<key>name</key>
<string>keyword.control.hoon</string>
</dict>
<dict>
<key>begin</key>
<string>;script(type "text/coffeescript")</string>
<key>comment</key>
<string>rune</string>
<key>end</key>
<string>==</string>
<key>name</key>
<string>keyword.control.hoon</string>
</dict>
</array>
<key>scopeName</key>
<string>source.hoon</string>
<key>uuid</key>
<string>9a56507d-ae34-4bd0-84fa-079029cb9509</string>
</dict>
</plist>