Skip to content

Commit e34af52

Browse files
committed
Rescope the source operator
1 parent 1a7dc0b commit e34af52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PowerShell.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ contexts:
5757
- include: conditionals
5858

5959
- match: \B\.(?= )
60-
scope: support.function.source.powershell
60+
scope: keyword.operator.source.powershell
6161
- match: \&
6262
scope: keyword.operator.call.powershell
6363

Tests/syntax_test_PowerShell.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ $a3[1..2]
901901

902902
# Commands (executable files)
903903
. .\scripts\Test-Foo.ps1 -parameter 'value'
904-
# ^ support.function.source.powershell
904+
# ^ keyword.operator.source.powershell
905905
# ^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.powershell support.function.powershell
906906
# @@@@@@@@@@@@@@@@@@@@@@ reference
907907
# ^^^^^^^^^^ variable.parameter.option.powershell

0 commit comments

Comments
 (0)