Skip to content

Commit e3ce166

Browse files
committed
[powershell] switch grammar to powershell/editorsyntax. Fixes microsoft#36991, fixes microsoft#43224
1 parent d03e2c2 commit e3ce166

6 files changed

Lines changed: 1622 additions & 1768 deletions

File tree

build/npm/update-all-grammars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const extensions = [
4444
'objective-c',
4545
'perl',
4646
'php',
47-
// 'powershell', grammar not ready yet, @daviwil will ping when ready
47+
'powershell',
4848
'pug',
4949
'python',
5050
'r',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS:
22
[{
3-
"name": "SublimeText/PowerShell",
3+
"name": "PowerShell/EditorSyntax",
44
"version": "0.0.0",
55
"license": "MIT",
6-
"repositoryURL": "https://github.com/SublimeText/PowerShell"
6+
"repositoryURL": "https://github.com/powershell/editorsyntax"
77
}]

extensions/powershell/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"grammars": [{
1414
"language": "powershell",
1515
"scopeName": "source.powershell",
16-
"path": "./syntaxes/PowershellSyntax.tmLanguage"
16+
"path": "./syntaxes/powershell.tmLanguage.json"
1717
}],
1818
"snippets": [{
1919
"language": "powershell",
2020
"path": "./snippets/powershell.json"
2121
}]
2222
},
2323
"scripts": {
24-
"update-grammar": "node ../../build/npm/update-grammar.js SublimeText/PowerShell Support/PowershellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
24+
"update-grammar": "node ../../build/npm/update-grammar.js PowerShell/EditorSyntax PowerShellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
2525
}
2626
}

0 commit comments

Comments
 (0)