Skip to content

Commit 4fd944a

Browse files
matteocoderdeathaxe
and
deathaxe
authored
Add scope to matched unquoted strings
Co-authored-by: deathaxe <[email protected]>
1 parent e180d24 commit 4fd944a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PowerShell.sublime-syntax

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ contexts:
7878
# Consume a string with a trailing dot
7979
# to prevent members with particular names from being recognized as keywords.
8080
- match: \b[\w-]+(?=\.)
81+
scope: variable.other.object.powershell
8182
push: members
8283
# Exceptions
8384
- match: \b(?i:throw){{kebab_break}}

0 commit comments

Comments
 (0)