diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c2df7ea..a4a2f286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ - The `requirements.txt` syntax has been removed due to incompatible license requirements. - Dart, new highlighter, see #1959 (@Ersikan) - SCSS and Sass syntaxes updated, see #1766 (@Enselic) +- PowerShell syntax updated, see #1935 (@Enselic) ## New themes diff --git a/assets/syntaxes/02_Extra/PowerShell b/assets/syntaxes/02_Extra/PowerShell index 4a0a0766..742f0b5d 160000 --- a/assets/syntaxes/02_Extra/PowerShell +++ b/assets/syntaxes/02_Extra/PowerShell @@ -1 +1 @@ -Subproject commit 4a0a076661d26473cac71b9a17e6a759e9b1c643 +Subproject commit 742f0b5d4b60f5930c0b47fcc1f646860521296e diff --git a/assets/syntaxes/02_Extra/PowerShell.sublime-syntax b/assets/syntaxes/02_Extra/PowerShell.sublime-syntax index be84b1d4..3a452a64 100644 --- a/assets/syntaxes/02_Extra/PowerShell.sublime-syntax +++ b/assets/syntaxes/02_Extra/PowerShell.sublime-syntax @@ -24,7 +24,7 @@ contexts: - include: commands - include: commentLine - include: variable - - include: interpolatedStringContent + - include: subexpression - include: function - include: attribute - include: UsingDirective @@ -33,32 +33,38 @@ contexts: - include: doubleQuotedString - include: scriptblock - include: doubleQuotedStringEscapes - - match: (?