Skip to content

Commit 1c2adf9

Browse files
committed
Let script invocation start with a drive letter
1 parent c5baa7a commit 1c2adf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShell.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ contexts:
241241
scope: meta.function-call.powershell support.function.powershell
242242

243243
script-invocation:
244-
- match: \b[\w.\\/-]+\.(?i:exe|com|cmd|bat|ps1)\b
244+
- match: \b(?i:[a-z]:)?[\w.\\/-]+\.(?i:exe|com|cmd|bat|ps1)\b
245245
scope: variable.function.powershell
246246

247247
parameters:

0 commit comments

Comments
 (0)