Permalink
Browse files

add storage type to tmlanguage

  • Loading branch information...
1 parent 83cf294 commit f311f794d1939536f4a6627d506f905e168b07f6 @shingx1 shingx1 committed Nov 25, 2012
Showing with 17 additions and 1 deletion.
  1. +17 −1 R.tmLanguage
View
@@ -44,6 +44,10 @@
</dict>
<dict>
<key>include</key>
+ <string>#storage_type</string>
+ </dict>
+ <dict>
+ <key>include</key>
<string>#string</string>
</dict>
<dict>
@@ -245,7 +249,7 @@
</dict>
<dict>
<key>match</key>
- <string>(\.\.\.|\$|:|\~)</string>
+ <string>(\.\.\.|\$|:|\~|@)</string>
<key>name</key>
<string>keyword.other.r</string>
</dict>
@@ -344,6 +348,18 @@
</dict>
</array>
</dict>
+ <key>storage_type</key>
+ <dict>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>match</key>
+ <string>\b(character|complex|double|expression|integer|list|logical|numeric|single|raw)\b(?=\s*\()</string>
+ <key>name</key>
+ <string>storage.type.r</string>
+ </dict>
+ </array>
+ </dict>
<key>string</key>
<dict>
<key>patterns</key>

0 comments on commit f311f79

Please sign in to comment.