Skip to content

Commit a0caccf

Browse files
author
deathaxe
committedJan 10, 2025·
(Re-)add PowerShell 6+ number suffixes
Also fix incomplete units causing whole number to not be highlighted.
1 parent f21161d commit a0caccf

File tree

2 files changed

+228
-109
lines changed

2 files changed

+228
-109
lines changed
 

‎PowerShell.sublime-syntax

+10-10
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ first_line_match: |-
1818
1919
variables:
2020
dec_exponent: (?:[eE][-+]?\d*)
21-
dec_suffix: '[dDlL]'
22-
double_suffix: '[dD]'
23-
long_suffix: '[lL]'
24-
unit_suffix: (?i:[kmgtp]b)
21+
dec_suffix: '[dD]'
22+
float_suffix: '[dDlL]'
23+
int_suffix: (?i:u[lsy]?|[lnsy])
24+
unit_suffix: (?i:[kmgtp]b\b)
2525
kebab_break: (?![\w-])
2626

2727
contexts:
@@ -548,14 +548,14 @@ contexts:
548548
pop: true
549549

550550
numeric-constant:
551-
- match: \b(0[bB])([01]*)({{long_suffix}}?{{unit_suffix}}?)\b
551+
- match: \b(0[bB])([01]*)({{int_suffix}}?{{unit_suffix}}?)
552552
scope: meta.number.integer.binary.powershell
553553
captures:
554554
1: constant.numeric.base.powershell
555555
2: constant.numeric.value.powershell
556556
3: constant.numeric.suffix.powershell
557557
push: members
558-
- match: \b(0[xX])(\h*)({{long_suffix}}?{{unit_suffix}}?)\b
558+
- match: \b(0[xX])(\h*)({{int_suffix}}?{{unit_suffix}}?)
559559
scope: meta.number.integer.hexadecimal.powershell
560560
captures:
561561
1: constant.numeric.base.powershell
@@ -570,11 +570,11 @@ contexts:
570570
# 1.2 1.2e-3 1.e2 1e2
571571
| \d+ (?: (\.) \d+ {{dec_exponent}}? | (\.)? {{dec_exponent}} )
572572
)
573-
( {{dec_suffix}}? {{unit_suffix}}? )\b
573+
( {{float_suffix}}? {{unit_suffix}}? )
574574
|
575575
# 10.l 10.lGB 10.GB
576576
( \d+ (\.) )
577-
( {{dec_suffix}} {{unit_suffix}}? | {{unit_suffix}} )\b
577+
( {{float_suffix}} {{unit_suffix}}? | {{unit_suffix}} )
578578
scope: meta.number.float.decimal.powershell
579579
captures:
580580
1: constant.numeric.value.powershell
@@ -586,13 +586,13 @@ contexts:
586586
7: punctuation.separator.decimal.powershell
587587
8: constant.numeric.suffix.powershell
588588
push: members
589-
- match: \b(\d+)({{double_suffix}}{{unit_suffix}}?)\b
589+
- match: \b(\d+)({{dec_suffix}}{{unit_suffix}}?)
590590
scope: meta.number.float.decimal.powershell
591591
captures:
592592
1: constant.numeric.value.powershell
593593
2: constant.numeric.suffix.powershell
594594
push: members
595-
- match: \b(\d+)({{long_suffix}}?{{unit_suffix}}?)\b
595+
- match: \b(\d+)({{int_suffix}}?{{unit_suffix}}?)
596596
scope: meta.number.integer.decimal.powershell
597597
captures:
598598
1: constant.numeric.value.powershell

‎Tests/syntax_test_PowerShell.ps1

+218-99
Original file line numberDiff line numberDiff line change
@@ -463,148 +463,267 @@ There is no @platting here!
463463
# <- string.quoted.double.heredoc
464464

465465
# Numeric constants
466-
-3
466+
467+
-3 +3 3 3l 3lm 3lmb
467468
# ^ keyword.operator.unary
468469
# ^ meta.number.integer.decimal constant.numeric.value
470+
# ^ keyword.operator.unary
471+
# ^ meta.number.integer.decimal constant.numeric.value
472+
# ^ meta.number.integer.decimal constant.numeric.value
473+
# ^ meta.number.integer.decimal constant.numeric.value
474+
# ^ meta.number.integer.decimal constant.numeric.suffix
475+
# ^^ meta.number.integer.decimal
476+
# ^ - constant.numeric
477+
# ^^^^ meta.number.integer.decimal
478+
# ^ constant.numeric.value
479+
# ^^^ constant.numeric.suffix
480+
481+
3y 3uy 3s 3us 3u 3ul # PowerShell 6.2+
482+
# ^^ meta.number.integer.decimal
483+
# ^ constant.numeric.value
484+
# ^ constant.numeric.suffix
485+
# ^^^ meta.number.integer.decimal
486+
# ^ constant.numeric.value
487+
# ^^ constant.numeric.suffix
488+
# ^^ meta.number.integer.decimal
489+
# ^ constant.numeric.value
490+
# ^ constant.numeric.suffix
491+
# ^^^ meta.number.integer.decimal
492+
# ^ constant.numeric.value
493+
# ^^ constant.numeric.suffix
494+
# ^^ meta.number.integer.decimal
495+
# ^ constant.numeric.value
496+
# ^ constant.numeric.suffix
497+
# ^^^ meta.number.integer.decimal
498+
# ^ constant.numeric.value
499+
# ^^ constant.numeric.suffix
500+
501+
3n # PowerShell 7.0+
502+
# ^^ meta.number.integer.decimal
503+
# ^ constant.numeric.value
504+
# ^ constant.numeric.suffix
505+
469506
.5
470-
# ^^ meta.number.float.decimal.powershell constant.numeric.value.powershell - constant constant
471-
# ^ punctuation.separator.decimal.powershell
507+
# ^^ meta.number.float.decimal constant.numeric.value - constant constant
508+
# ^ punctuation.separator.decimal
509+
472510
+.5
473-
# ^ keyword.operator.unary.powershell
474-
# ^^ meta.number.float.decimal.powershell constant.numeric.value.powershell - constant constant
475-
# ^ punctuation.separator.decimal.powershell
511+
# ^ keyword.operator.unary
512+
# ^^ meta.number.float.decimal constant.numeric.value - constant constant
513+
# ^ punctuation.separator.decimal
514+
476515
1.
477-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
516+
# ^ meta.number.integer.decimal constant.numeric.value
478517
# ^ - meta.number - constant.numeric
479-
1.f
480-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
481-
# ^ punctuation.accessor.dot.powershell
482-
# ^ variable.other.member.powershell
518+
519+
1.f 1.f()
520+
# ^ meta.number.integer.decimal constant.numeric.value
521+
# ^ punctuation.accessor.dot
522+
# ^ variable.other.member
523+
# ^ meta.number.integer.decimal constant.numeric.value
524+
# ^ punctuation.accessor.dot
525+
# @ reference
526+
# ^ meta.function-call variable.function
527+
# ^ meta.function-call.arguments punctuation.section.arguments.begin
528+
# ^ meta.function-call.arguments punctuation.section.arguments.end
529+
483530
1.d
484-
# ^^^ meta.number.float.decimal.powershell - constant constant
485-
# ^^ constant.numeric.value.powershell
486-
# ^ punctuation.separator.decimal.powershell
487-
# ^ constant.numeric.suffix.powershell
531+
# ^^^ meta.number.float.decimal - constant constant
532+
# ^^ constant.numeric.value
533+
# ^ punctuation.separator.decimal
534+
# ^ constant.numeric.suffix
535+
488536
1.lGB
489-
# ^^^^^ meta.number.float.decimal.powershell
490-
# ^^ constant.numeric.value.powershell
491-
# ^ punctuation.separator.decimal.powershell
492-
# ^^^ constant.numeric.suffix.powershell
537+
# ^^^^^ meta.number.float.decimal
538+
# ^^ constant.numeric.value
539+
# ^ punctuation.separator.decimal
540+
# ^^^ constant.numeric.suffix
541+
493542
1.dGB
494-
# ^^^^^ meta.number.float.decimal.powershell
495-
# ^^ constant.numeric.value.powershell
496-
# ^ punctuation.separator.decimal.powershell
497-
# ^^^ constant.numeric.suffix.powershell
543+
# ^^^^^ meta.number.float.decimal
544+
# ^^ constant.numeric.value
545+
# ^ punctuation.separator.decimal
546+
# ^^^ constant.numeric.suffix
547+
498548
1.e+12d
499-
# ^^^^^^^ meta.number.float.decimal.powershell
500-
# ^^^^^^ constant.numeric.value.powershell
501-
# ^ punctuation.separator.decimal.powershell
502-
# ^ constant.numeric.suffix.powershell
549+
# ^^^^^^^ meta.number.float.decimal
550+
# ^^^^^^ constant.numeric.value
551+
# ^ punctuation.separator.decimal
552+
# ^ constant.numeric.suffix
553+
503554
1e+12d
504-
# ^^^^^^ meta.number.float.decimal.powershell
505-
# ^^^^^ constant.numeric.value.powershell
506-
# ^ constant.numeric.suffix.powershell
555+
# ^^^^^^ meta.number.float.decimal
556+
# ^^^^^ constant.numeric.value
557+
# ^ constant.numeric.suffix
558+
507559
1.5
508-
# ^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
509-
# ^ punctuation.separator.decimal.powershell
560+
# ^^^ meta.number.float.decimal constant.numeric.value
561+
# ^ punctuation.separator.decimal
562+
510563
-1.5
511-
# ^ keyword.operator.unary.powershell
512-
# ^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
513-
# ^ punctuation.separator.decimal.powershell
564+
# ^ keyword.operator.unary
565+
# ^^^ meta.number.float.decimal constant.numeric.value
566+
# ^ punctuation.separator.decimal
567+
514568
-3 + -2
515-
# ^ keyword.operator.unary.powershell
516-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
517-
# ^ keyword.operator.arithmetic.powershell
518-
# ^ keyword.operator.unary.powershell
519-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
569+
# ^ keyword.operator.unary
570+
# ^ meta.number.integer.decimal constant.numeric.value
571+
# ^ keyword.operator.arithmetic
572+
# ^ keyword.operator.unary
573+
# ^ meta.number.integer.decimal constant.numeric.value
574+
520575
-3+-2
521-
# ^ keyword.operator.unary.powershell
522-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
523-
# ^ keyword.operator.arithmetic.powershell
524-
# ^ keyword.operator.unary.powershell
525-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
576+
# ^ keyword.operator.unary
577+
# ^ meta.number.integer.decimal constant.numeric.value
578+
# ^ keyword.operator.arithmetic
579+
# ^ keyword.operator.unary
580+
# ^ meta.number.integer.decimal constant.numeric.value
581+
526582
3++2
527-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
528-
# ^ keyword.operator.arithmetic.powershell
529-
# ^ keyword.operator.unary.powershell
530-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
583+
# ^ meta.number.integer.decimal constant.numeric.value
584+
# ^ keyword.operator.arithmetic
585+
# ^ keyword.operator.unary
586+
# ^ meta.number.integer.decimal constant.numeric.value
587+
531588
+2
532-
# ^ keyword.operator.unary.powershell
533-
# ^ meta.number.integer.decimal.powershell constant.numeric.value.powershell
589+
# ^ keyword.operator.unary
590+
# ^ meta.number.integer.decimal constant.numeric.value
591+
534592
-3+-
535593
# ^ keyword.operator.unary
536594
# ^ meta.number.integer.decimal constant.numeric.value
537595
# ^^ keyword.operator
596+
538597
10/-10
539598
# ^^ meta.number.integer.decimal constant.numeric.value
540-
# ^ keyword.operator.arithmetic.powershell
599+
# ^ keyword.operator.arithmetic
541600
# ^^ meta.number.integer.decimal constant.numeric.value
601+
542602
10/-10D
543603
# ^^ meta.number.integer.decimal constant.numeric.value
544-
# ^ keyword.operator.arithmetic.powershell
545-
# ^^^ meta.number.float.decimal.powershell
546-
# ^^ constant.numeric.value.powershell
547-
# ^ constant.numeric.suffix.powershell
604+
# ^ keyword.operator.arithmetic
605+
# ^^^ meta.number.float.decimal
606+
# ^^ constant.numeric.value
607+
# ^ constant.numeric.suffix
608+
548609
-10.002L
549610
# ^ keyword.operator.unary
550-
# ^^^^^^^ meta.number.float.decimal.powershell
551-
# ^^^^^^ constant.numeric.value.powershell
552-
# ^ punctuation.separator.decimal.powershell
553-
# ^ constant.numeric.suffix.powershell
611+
# ^^^^^^^ meta.number.float.decimal
612+
# ^^^^^^ constant.numeric.value
613+
# ^ punctuation.separator.decimal
614+
# ^ constant.numeric.suffix
615+
554616
$x..5.40D
555617
# ^ punctuation.definition.variable
556618
# ^^ variable.other.readwrite
557619
# ^^ keyword.operator.range
558-
# ^^^^^ meta.number.float.decimal.powershell
559-
# ^^^^ constant.numeric.value.powershell
560-
# ^ punctuation.separator.decimal.powershell
561-
# ^ constant.numeric.suffix.powershell
620+
# ^^^^^ meta.number.float.decimal
621+
# ^^^^ constant.numeric.value
622+
# ^ punctuation.separator.decimal
623+
# ^ constant.numeric.suffix
624+
562625
-500..-495
563626
# ^ keyword.operator.unary
564627
# ^^^ meta.number.integer.decimal constant.numeric.value
565628
# ^^ keyword.operator.range
566629
# ^ keyword.operator.unary
567630
# ^^^ meta.number.integer.decimal constant.numeric.value
631+
568632
$true..3
569633
# ^ punctuation.definition.variable
570634
# ^^^^ constant.language
571635
# ^^ keyword.operator.range
572636
# ^ meta.number.integer.decimal constant.numeric.value
637+
573638
-2..$null
574639
# ^ keyword.operator.unary
575640
# ^ meta.number.integer.decimal constant.numeric.value
576641
# ^^ keyword.operator.range
577642
# ^^^^^ constant.language
578643
# ^ punctuation.definition.variable
644+
579645
-3..3
580646
# ^ keyword.operator.unary
581647
# ^ meta.number.integer.decimal constant.numeric.value
582648
# ^ meta.number.integer.decimal constant.numeric.value
583649
# ^^ keyword.operator.range
650+
584651
1..3
585652
# ^ meta.number.integer.decimal constant.numeric.value
586653
# ^ meta.number.integer.decimal constant.numeric.value
587654
# ^^ keyword.operator.range
655+
588656
6,10,-3
589657
# ^ meta.number.integer.decimal constant.numeric.value
590658
# ^ punctuation.separator.sequence -constant
591659
# ^^ meta.number.integer.decimal constant.numeric.value
592660
# ^ punctuation.separator.sequence -constant
593661
# ^ meta.number.integer.decimal constant.numeric.value
594-
0x476
595-
# ^^^^^ meta.number.integer.hexadecimal.powershell
596-
# ^^ constant.numeric.base.powershell
597-
# ^^^ constant.numeric.value.powershell
598-
+0x20
599-
# ^ keyword.operator.unary.powershell
600-
# ^^^^ meta.number.integer.hexadecimal.powershell
601-
# ^^ constant.numeric.base.powershell
602-
# ^^ constant.numeric.value.powershell
603-
-0x20
604-
# ^ keyword.operator.unary.powershell
605-
# ^^^^ meta.number.integer.hexadecimal.powershell
606-
# ^^ constant.numeric.base.powershell
607-
# ^^ constant.numeric.value.powershell
662+
663+
0x476 0X476 0x476l 0x47m 0x47mb
664+
# ^^^^^ meta.number.integer.hexadecimal
665+
# ^^ constant.numeric.base
666+
# ^^^ constant.numeric.value
667+
# ^^^^^ meta.number.integer.hexadecimal
668+
# ^^ constant.numeric.base
669+
# ^^^ constant.numeric.value
670+
# ^^^^^^ meta.number.integer.hexadecimal
671+
# ^^ constant.numeric.base
672+
# ^^^ constant.numeric.value
673+
# ^ constant.numeric.suffix
674+
# ^^^^ meta.number.integer.hexadecimal
675+
# ^^ constant.numeric.base
676+
# ^^ constant.numeric.value
677+
# ^ - constant.numeric
678+
# ^^^^ meta.number.integer.hexadecimal
679+
# ^^ constant.numeric.base
680+
# ^^ constant.numeric.value
681+
# ^^ constant.numeric.suffix
682+
683+
+0x20 +0X20 +0x20l +0x20m +0x20mb
684+
# ^ keyword.operator.unary
685+
# ^^^^ meta.number.integer.hexadecimal
686+
# ^^ constant.numeric.base
687+
# ^^ constant.numeric.value
688+
# ^ keyword.operator.unary
689+
# ^^^^ meta.number.integer.hexadecimal
690+
# ^^ constant.numeric.base
691+
# ^^ constant.numeric.value
692+
# ^^^^^ meta.number.integer.hexadecimal
693+
# ^^ constant.numeric.base
694+
# ^^ constant.numeric.value
695+
# ^ constant.numeric.suffix
696+
# ^^^^ meta.number.integer.hexadecimal
697+
# ^^ constant.numeric.base
698+
# ^^ constant.numeric.value
699+
# ^ - constant.numeric
700+
# ^^^^^^ meta.number.integer.hexadecimal
701+
# ^^ constant.numeric.base
702+
# ^^ constant.numeric.value
703+
# ^^ constant.numeric.suffix
704+
705+
-0x20 -0X20 -0x20l -0x20m -0x20mb
706+
# ^ keyword.operator.unary
707+
# ^^^^ meta.number.integer.hexadecimal
708+
# ^^ constant.numeric.base
709+
# ^^ constant.numeric.value
710+
# ^ keyword.operator.unary
711+
# ^^^^ meta.number.integer.hexadecimal
712+
# ^^ constant.numeric.base
713+
# ^^ constant.numeric.value
714+
# ^ keyword.operator.unary
715+
# ^^^^^ meta.number.integer.hexadecimal
716+
# ^^ constant.numeric.base
717+
# ^^ constant.numeric.value
718+
# ^ constant.numeric.suffix
719+
# ^^^^ meta.number.integer.hexadecimal
720+
# ^^ constant.numeric.base
721+
# ^^ constant.numeric.value
722+
# ^ - constant.numeric
723+
# ^^^^^^ meta.number.integer.hexadecimal
724+
# ^^ constant.numeric.base
725+
# ^^ constant.numeric.value
726+
# ^^ constant.numeric.suffix
608727

609728
# Types
610729
[string]
@@ -718,7 +837,7 @@ Invoke-Something -p1 value `
718837
-p2 14.4 `
719838
# ^ punctuation.definition.parameter
720839
# ^^^ variable.parameter.option
721-
# ^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
840+
# ^^^^ meta.number.float.decimal constant.numeric.value
722841
# ^ punctuation.separator.continuation
723842
-p3 $value | Invoke-Something -verbose
724843
# ^ punctuation.definition.parameter
@@ -995,7 +1114,7 @@ function Verb-Noun
9951114
# ^^^^ constant.language
9961115
# ^ punctuation.separator
9971116
ValueFromPipeline=$true,
998-
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.attribute.powershell
1117+
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.attribute
9991118
# ^^^^^^^^^^^^^^^^^ variable.parameter.attribute
10001119
# ^ keyword.operator.assignment
10011120
# ^ punctuation.definition.variable
@@ -1334,7 +1453,7 @@ $b -cLike $c
13341453
# ^^ keyword.operator.string-format
13351454
(1.11).ToString("#.#")
13361455
# ^ punctuation.section.group.begin
1337-
# ^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
1456+
# ^^^^ meta.number.float.decimal constant.numeric.value
13381457
# ^ punctuation.section.group.begin
13391458
# ^ string.quoted.double
13401459
"{1,10} {0,10} {2,10:x}" -f "First", "Second", 255
@@ -1343,19 +1462,19 @@ $b -cLike $c
13431462
# ^^^ meta.number.integer.decimal constant.numeric.value
13441463
("{0,6}" -f 4.99), ("{0,6:##.00}" -f 15.9)
13451464
# ^^ keyword.operator.string-format
1346-
# ^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
1465+
# ^^^^ meta.number.float.decimal constant.numeric.value
13471466
# ^^^^^^^^^^^^^ string.quoted.double
13481467
# ^^ keyword.operator.string-format
13491468
"{0:R}" -f (1mb/2.0)
13501469
# ^ keyword.operator.string-format
13511470
# ^ meta.number.integer.decimal constant.numeric.value
1352-
# ^^ meta.number.integer.decimal.powershell constant.numeric.suffix.powershell
1471+
# ^^ meta.number.integer.decimal constant.numeric.suffix
13531472
"{0:00.0}" -f 4.12341234
13541473
# ^ keyword.operator.string-format
13551474
"{0:##.#}" -f 4.12341234
13561475
# ^ string.quoted.double
13571476
# ^ keyword.operator.string-format
1358-
# ^^^^^^^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
1477+
# ^^^^^^^^^^ meta.number.float.decimal constant.numeric.value
13591478
"{0:#,#.#}" -f 1234.121234
13601479
# ^ string.quoted.double
13611480
# ^ keyword.operator.string-format
@@ -1574,48 +1693,48 @@ get-thing | Out-WithYou > $null # destroy
15741693
# ^^^^^^^^^^^^^^^^ variable.language - punctuation
15751694
<#
15761695
.SYNOPSIS
1577-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1696+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15781697
#^^^^^^^^ keyword.other.documentation
15791698
.DESCRIPTION
1580-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1699+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15811700
#^^^^^^^^^^^ keyword.other.documentation
15821701
.PARAMETER
1583-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1702+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15841703
#^^^^^^^^ keyword.other.documentation
15851704
.EXAMPLE
1586-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1705+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15871706
#^^^^^^^ keyword.other.documentation
15881707
.INPUTS
1589-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1708+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15901709
#^^^^^^ keyword.other.documentation
15911710
.OUTPUTS
1592-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1711+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15931712
#^^^^^^^ keyword.other.documentation
15941713
.NOTES
1595-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1714+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15961715
#^^^^^ keyword.other.documentation
15971716
.LINK
1598-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1717+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
15991718
#^^^^ keyword.other.documentation
16001719
.COMPONENT
1601-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1720+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16021721
#^^^^^^^^^ keyword.other.documentation
16031722
.ROLE
1604-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1723+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16051724
#^^^^ keyword.other.documentation
16061725
.FUNCTIONALITY
1607-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1726+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16081727
#^^^^^^^^^^^^^ keyword.other.documentation
16091728
.FORWARDHELPTARGETNAME
1610-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1729+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16111730
#^^^^^^^^^^^^^^^^^^^^^ keyword.other.documentation
16121731
.FORWARDHELPCATEGORY
1613-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1732+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16141733
#^^^^^^^^^^^^^^^^^^^ keyword.other.documentation
16151734
.REMOTEHELPRUNSPACE
1616-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1735+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16171736
#^^^^^^^^^^^^^^^^^^ keyword.other.documentation
16181737
.EXTERNALHELP
1619-
#<- comment.block.powershell comment.documentation.embedded.powershell punctuation.definition.keyword.documentation.powershell
1738+
#<- comment.block comment.documentation.embedded punctuation.definition.keyword.documentation
16201739
#^^^^^^^^^^^^ keyword.other.documentation
16211740
#>

0 commit comments

Comments
 (0)
Please sign in to comment.