Skip to content

Commit

Permalink
Add scope to matched unquoted strings
Browse files Browse the repository at this point in the history
Co-authored-by: deathaxe <deathaxe82@googlemail.com>
  • Loading branch information
matteocoder and deathaxe authored Jan 10, 2025
1 parent e180d24 commit 4fd944a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PowerShell.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ contexts:
# Consume a string with a trailing dot
# to prevent members with particular names from being recognized as keywords.
- match: \b[\w-]+(?=\.)
scope: variable.other.object.powershell
push: members
# Exceptions
- match: \b(?i:throw){{kebab_break}}
Expand Down

0 comments on commit 4fd944a

Please sign in to comment.