Skip to content
Browse files

Give parens punctuation.section.parens.* scope

This allows "Source/Other Actions/Return Inside Empty Item" to work
for parenthesis as well.
  • Loading branch information...
1 parent b467982 commit 4f8abd605a2e5db7d6bf6b0ef6719626ce9a62bf Gerd Knops committed with infininight
Showing with 16 additions and 0 deletions.
  1. +16 −0 Syntaxes/C.plist
View
16 Syntaxes/C.plist
@@ -743,8 +743,24 @@
<dict>
<key>begin</key>
<string>\(</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.section.parens.begin.c</string>
+ </dict>
+ </dict>
<key>end</key>
<string>\)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.section.parens.end.c</string>
+ </dict>
+ </dict>
<key>name</key>
<string>meta.parens.c</string>
<key>patterns</key>

0 comments on commit 4f8abd6

Please sign in to comment.
Something went wrong with that request. Please try again.