Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 64 additions & 11 deletions Syntaxes/Perl.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2190,28 +2190,40 @@
</dict>
</dict>
<key>comment</key>
<string>Match empty brackets for ↩ snippet</string>
<string>Match empty parenthesis for ↩ snippet</string>
<key>match</key>
<string>(\{)(\})</string>
<string>(\()(\))</string>
</dict>
<dict>
<key>captures</key>
<key>begin</key>
<string>\{</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.scope.begin.perl</string>
<string>punctuation.section.scope.begin.js</string>
</dict>
<key>2</key>
</dict>
<key>comment</key>
<string>Match a code block or a hash data.</string>
<key>end</key>
<string>\}</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.scope.end.perl</string>
<string>punctuation.section.scope.end.js</string>
</dict>
</dict>
<key>comment</key>
<string>Match empty parenthesis for ↩ snippet</string>
<key>match</key>
<string>(\()(\))</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>$self</string>
</dict>
</array>
</dict>
</array>
<key>repository</key>
Expand Down Expand Up @@ -4605,6 +4617,47 @@
<key>name</key>
<string>variable.other.readwrite.global.special.perl</string>
</dict>
<dict>
<key>begin</key>
<string>([\$\@\%\&amp;]\{)</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.global.special.perl</string>
</dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.variable.perl</string>
</dict>
</dict>
<key>contentName</key>
<string>meta.embedded.block.perl</string>
<key>end</key>
<string>(\})</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.global.special.perl</string>
</dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.variable.perl</string>
</dict>
</dict>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>$self</string>
</dict>
</array>
</dict>
</array>
</dict>
</dict>
Expand Down