On 2013-09-18 12:21, Allan Odgaard wrote:
It will automatically work, if you assign the scopes to the braces.
I tried to copy what's in the C bundle but I couldn't get it to work. I added the following:
<key>block</key> <dict> <key>patterns</key> <array> <dict> <key>begin</key> <string>\{</string> <key>beginCaptures</key> <dict> <key>0</key> <dict> <key>name</key> <string>punctuation.section.block.begin.d</string> </dict> </dict> <key>end</key> <string>\}</string> <key>endCaptures</key> <dict> <key>0</key> <dict> <key>name</key> <string>punctuation.section.block.end.d</string> </dict> </dict> </dict> </array> </dict> Below this line, just before the "comments" key. https://github.com/textmate/d.tmbundle/blob/master/Syntaxes/D.tmLanguage#L560 -- /Jacob Carlborg _______________________________________________ textmate-dev mailing list textmate-dev@lists.macromates.com http://lists.macromates.com/listinfo/textmate-dev