[powershell] switch grammar to powershell/editorsyntax. Fixes #36991, fixes #43224

This commit is contained in:
Martin Aeschlimann 2018-02-09 10:55:16 +01:00
parent d03e2c286f
commit e3ce1668b0
6 changed files with 1648 additions and 1794 deletions

View File

@ -44,7 +44,7 @@ const extensions = [
'objective-c',
'perl',
'php',
// 'powershell', grammar not ready yet, @daviwil will ping when ready
'powershell',
'pug',
'python',
'r',

View File

@ -1,7 +1,7 @@
// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS:
[{
"name": "SublimeText/PowerShell",
"name": "PowerShell/EditorSyntax",
"version": "0.0.0",
"license": "MIT",
"repositoryURL": "https://github.com/SublimeText/PowerShell"
"repositoryURL": "https://github.com/powershell/editorsyntax"
}]

View File

@ -13,7 +13,7 @@
"grammars": [{
"language": "powershell",
"scopeName": "source.powershell",
"path": "./syntaxes/PowershellSyntax.tmLanguage"
"path": "./syntaxes/powershell.tmLanguage.json"
}],
"snippets": [{
"language": "powershell",
@ -21,6 +21,6 @@
}]
},
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js SublimeText/PowerShell Support/PowershellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
"update-grammar": "node ../../build/npm/update-grammar.js PowerShell/EditorSyntax PowerShellSyntax.tmLanguage ./syntaxes/powershell.tmLanguage.json"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff