Skip to content

Commit

Permalink
Improve scoping of braces and parens, remove outdated snippet.
Browse files Browse the repository at this point in the history
With the new scoping present here the custom snippet is no longer needed in favor of a global one in the Source bundle.
  • Loading branch information
infininight committed Oct 19, 2012
1 parent 48287f7 commit 7232ee6
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Snippets/Empty Parens.tmSnippet

This file was deleted.

48 changes: 48 additions & 0 deletions Syntaxes/Go.tmLanguage
Expand Up @@ -150,8 +150,24 @@
<dict>
<key>begin</key>
<string>\{</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.block.begin.go</string>
</dict>
</dict>
<key>end</key>
<string>\}</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.block.end.go</string>
</dict>
</dict>
<key>name</key>
<string>meta.block.go</string>
<key>patterns</key>
Expand Down Expand Up @@ -292,8 +308,24 @@
<dict>
<key>begin</key>
<string>\(</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.parens.begin.go</string>
</dict>
</dict>
<key>end</key>
<string>\)</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.parens.end.go</string>
</dict>
</dict>
<key>name</key>
<string>meta.parens.go</string>
<key>patterns</key>
Expand All @@ -312,8 +344,24 @@
<dict>
<key>begin</key>
<string>\{</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.function-block.begin.go</string>
</dict>
</dict>
<key>end</key>
<string>\}</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.function-block.end.go</string>
</dict>
</dict>
<key>name</key>
<string>meta.block.go</string>
<key>patterns</key>
Expand Down

0 comments on commit 7232ee6

Please sign in to comment.