mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
Use dotnet/razor-tooling repo for razor grammar (#163898)
This commit is contained in:
parent
bad3dcca69
commit
42d99283fd
|
@ -11,8 +11,8 @@ function patchGrammar(grammar) {
|
|||
return grammar;
|
||||
}
|
||||
|
||||
const razorGrammarRepo = 'OmniSharp/omnisharp-vscode';
|
||||
const grammarPath = 'src/razor/syntaxes/aspnetcorerazor.tmLanguage.json';
|
||||
vscodeGrammarUpdater.update(razorGrammarRepo, grammarPath, './syntaxes/cshtml.tmLanguage.json', grammar => patchGrammar(grammar));
|
||||
const razorGrammarRepo = 'dotnet/razor-tooling';
|
||||
const grammarPath = 'src/Razor/src/Microsoft.AspNetCore.Razor.VSCode.Extension/syntaxes/aspnetcorerazor.tmLanguage.json';
|
||||
vscodeGrammarUpdater.update(razorGrammarRepo, grammarPath, './syntaxes/cshtml.tmLanguage.json', grammar => patchGrammar(grammar), 'main');
|
||||
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "OmniSharp/omnisharp-vscode",
|
||||
"repositoryUrl": "https://github.com/OmniSharp/omnisharp-vscode",
|
||||
"commitHash": "85d6eeea14e9aef51934697de78c77fbddbf1aa8"
|
||||
"name": "dotnet/razor-tooling",
|
||||
"repositoryUrl": "https://github.com/dotnet/razor-tooling",
|
||||
"commitHash": "558b502fbef5ecdf386ccd6d47b0b40b5f8800a7"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "1.24.0",
|
||||
"version": "1.0.0",
|
||||
"licenseDetail": [
|
||||
"MIT License",
|
||||
"",
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"information_for_contributors": [
|
||||
"This file has been converted from https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/razor/syntaxes/aspnetcorerazor.tmLanguage.json",
|
||||
"This file has been converted from https://github.com/dotnet/razor-tooling/blob/master/src/Razor/src/Microsoft.AspNetCore.Razor.VSCode.Extension/syntaxes/aspnetcorerazor.tmLanguage.json",
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/OmniSharp/omnisharp-vscode/commit/85d6eeea14e9aef51934697de78c77fbddbf1aa8",
|
||||
"version": "https://github.com/dotnet/razor-tooling/commit/558b502fbef5ecdf386ccd6d47b0b40b5f8800a7",
|
||||
"name": "ASP.NET Razor",
|
||||
"scopeName": "text.html.cshtml",
|
||||
"patterns": [
|
||||
|
|
Loading…
Reference in a new issue