Permalink
Browse files

Improve punctuation scopes.

  • Loading branch information...
1 parent 87bd853 commit d0431d9562e295a2ed6e02ed14a60daa1eb8aa07 @infininight infininight committed Nov 21, 2011
Showing with 30 additions and 6 deletions.
  1. +30 −6 Syntaxes/Postscript.tmLanguage
View
36 Syntaxes/Postscript.tmLanguage
@@ -101,16 +101,24 @@
<dict>
<key>begin</key>
<string>\&lt;\&lt;</string>
- <key>captures</key>
+ <key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
- <string>punctuation.definition.dictionary.postscript</string>
+ <string>punctuation.definition.dictionary.begin.postscript</string>
</dict>
</dict>
<key>end</key>
<string>\&gt;\&gt;</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.dictionary.end.postscript</string>
+ </dict>
+ </dict>
<key>name</key>
<string>meta.dictionary.postscript</string>
<key>patterns</key>
@@ -124,16 +132,24 @@
<dict>
<key>begin</key>
<string>\[</string>
- <key>captures</key>
+ <key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
- <string>punctuation.definition.array.postscript</string>
+ <string>punctuation.definition.array.begin.postscript</string>
</dict>
</dict>
<key>end</key>
<string>\]</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.array.end.postscript</string>
+ </dict>
+ </dict>
<key>name</key>
<string>meta.array.postscript</string>
<key>patterns</key>
@@ -147,16 +163,24 @@
<dict>
<key>begin</key>
<string>{</string>
- <key>captures</key>
+ <key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
- <string>punctuation.definition.procedure.postscript</string>
+ <string>punctuation.definition.procedure.begin.postscript</string>
</dict>
</dict>
<key>end</key>
<string>}</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.procedure.end.postscript</string>
+ </dict>
+ </dict>
<key>name</key>
<string>meta.procedure.postscript</string>
<key>patterns</key>

0 comments on commit d0431d9

Please sign in to comment.