Skip to content
Permalink
Browse files

Add PowerShell support (#346)

Resolves #339
  • Loading branch information...
lzybkr authored and XAMPPRocky committed Jul 6, 2019
1 parent 46d08e6 commit b36284f9e13e854526a9f247fad76ca16a05f714
Showing with 40 additions and 0 deletions.
  1. +23 −0 languages.json
  2. +17 −0 tests/data/powershell.ps1
@@ -1266,6 +1266,29 @@
"pro"
]
},
"PowerShell":{
"line_comment":[
"#"
],
"multi_line":[
["<#", "#>"]
],
"quotes":[
["\\\"", "\\\""],
["'", "'"],
["\\\"@", "@\\\""],
["@'", "'@"]
],
"extensions":[
"ps1",
"psm1",
"psd1",
"ps1xml",
"cdxml",
"pssc",
"psc1"
]
},
"PSL":{
"name":"PSL Assertion",
"base":"c",
@@ -0,0 +1,17 @@
# 17 lines 9 code 4 comments 4 blanks

<#
Test
#>

'a' + "b"

Write-Host @"
Name: $name
Address: $address
"@

$template = @'
Name: {0}
Address: {0}
'@

0 comments on commit b36284f

Please sign in to comment.
You can’t perform that action at this time.