Skip to content

Commit 290970e

Browse files
committed
Add meta.function-call.powershell scope to function calls
This enables Sublime Text to correctly find references to functions being called, at least for functions written according to the recommended style.
1 parent f21161d commit 290970e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShell.sublime-syntax

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ contexts:
342342
\-\w+? # Any "noun"
343343
(?:\.(?i:exe|cmd|bat|ps1))?\b # More path stuff
344344
)
345-
scope: support.function.powershell
345+
scope: meta.function-call.powershell support.function.powershell
346346
# Builtin cmdlets with reserved verbs
347347
- match: \b(?i:(?:foreach|where|sort|tee)-object)\b
348348
scope: support.function.powershell

0 commit comments

Comments
 (0)