code-server/lib/vscode/extensions/razor/package.json

49 lines
1.1 KiB
JSON

{
"name": "razor",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin demyte/language-cshtml grammars/cshtml.json ./syntaxes/cshtml.tmLanguage.json"
},
"contributes": {
"languages": [
{
"id": "razor",
"extensions": [
".cshtml"
],
"aliases": [
"Razor",
"razor"
],
"mimetypes": [
"text/x-cshtml"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "razor",
"scopeName": "text.html.cshtml",
"path": "./syntaxes/cshtml.tmLanguage.json",
"embeddedLanguages": {
"section.embedded.source.cshtml": "csharp",
"source.css": "css",
"source.js": "javascript"
}
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}