Skip to content

Commit

Permalink
applies issue #167 part 4,
Browse files Browse the repository at this point in the history
adds punctuation scope to start/end of here-string
  • Loading branch information
msftrncs committed May 9, 2019
1 parent f9308e3 commit f5dfc7b
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions PowerShellSyntax.tmLanguage
Expand Up @@ -136,9 +136,25 @@
</dict>
<dict>
<key>begin</key>
<string>\@["\x{201C}-\x{201E}]\s*$</string>
<string>(@["\x{201C}-\x{201E}])\s*$</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.powershell</string>
</dict>
</dict>
<key>end</key>
<string>^["\x{201C}-\x{201E}]@</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.powershell</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.heredoc.powershell</string>
<key>patterns</key>
Expand All @@ -159,9 +175,25 @@
</dict>
<dict>
<key>begin</key>
<string>\@['\x{2018}-\x{201B}]\s*$</string>
<string>(@['\x{2018}-\x{201B}])\s*$</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.powershell</string>
</dict>
</dict>
<key>end</key>
<string>^['\x{2018}-\x{201B}]@</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.powershell</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.single.heredoc.powershell</string>
</dict>
Expand Down

0 comments on commit f5dfc7b

Please sign in to comment.