mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
git: enable languages syntax
This commit is contained in:
parent
f46e1061c4
commit
6b855fccb8
|
@ -347,44 +347,7 @@
|
||||||
"group": "inline"
|
"group": "inline"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"languages": [
|
|
||||||
{
|
|
||||||
"id": "git-commit",
|
|
||||||
"aliases": [
|
|
||||||
"%language-alias.git-commit%",
|
|
||||||
"git-commit"
|
|
||||||
],
|
|
||||||
"filenames": [
|
|
||||||
"COMMIT_EDITMSG",
|
|
||||||
"MERGE_MSG"
|
|
||||||
],
|
|
||||||
"configuration": "./git-commit.language-configuration.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "git-rebase",
|
|
||||||
"aliases": [
|
|
||||||
"%language-alias.git-rebase%",
|
|
||||||
"git-rebase"
|
|
||||||
],
|
|
||||||
"filenames": [
|
|
||||||
"git-rebase-todo"
|
|
||||||
],
|
|
||||||
"configuration": "./git-rebase.language-configuration.json"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"grammars": [
|
|
||||||
{
|
|
||||||
"language": "git-commit",
|
|
||||||
"scopeName": "text.git-commit",
|
|
||||||
"path": "./syntaxes/git-commit.tmLanguage"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"language": "git-rebase",
|
|
||||||
"scopeName": "text.git-rebase",
|
|
||||||
"path": "./syntaxes/git-rebase.tmLanguage"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"denodeify": "^1.2.1",
|
"denodeify": "^1.2.1",
|
||||||
|
|
|
@ -21,7 +21,5 @@
|
||||||
"command.pushTo": "Push to...",
|
"command.pushTo": "Push to...",
|
||||||
"command.sync": "Sync",
|
"command.sync": "Sync",
|
||||||
"command.publish": "Publish",
|
"command.publish": "Publish",
|
||||||
"command.showOutput": "Show Git Output",
|
"command.showOutput": "Show Git Output"
|
||||||
"language-alias.git-commit": "Git Commit Message",
|
|
||||||
"language-alias.git-rebase": "Git Rebase Message"
|
|
||||||
}
|
}
|
29
extensions/gitsyntax/OSSREADME.json
Normal file
29
extensions/gitsyntax/OSSREADME.json
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS:
|
||||||
|
[{
|
||||||
|
"name": "textmate/git.tmbundle",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"license": "MIT",
|
||||||
|
"repositoryURL": "https://github.com/textmate/git.tmbundle",
|
||||||
|
"licenseDetail": [
|
||||||
|
"Copyright (c) 2008 Tim Harper",
|
||||||
|
"",
|
||||||
|
"Permission is hereby granted, free of charge, to any person obtaining",
|
||||||
|
"a copy of this software and associated documentation files (the\"",
|
||||||
|
"Software\"), to deal in the Software without restriction, including",
|
||||||
|
"without limitation the rights to use, copy, modify, merge, publish,",
|
||||||
|
"distribute, sublicense, and/or sell copies of the Software, and to",
|
||||||
|
"permit persons to whom the Software is furnished to do so, subject to",
|
||||||
|
"the following conditions:",
|
||||||
|
"",
|
||||||
|
"The above copyright notice and this permission notice shall be",
|
||||||
|
"included in all copies or substantial portions of the Software.",
|
||||||
|
"",
|
||||||
|
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,",
|
||||||
|
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF",
|
||||||
|
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND",
|
||||||
|
"NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE",
|
||||||
|
"LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION",
|
||||||
|
"OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION",
|
||||||
|
"WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
|
||||||
|
]
|
||||||
|
}]
|
52
extensions/gitsyntax/package.json
Normal file
52
extensions/gitsyntax/package.json
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"name": "gitsyntax",
|
||||||
|
"publisher": "vscode",
|
||||||
|
"displayName": "gitsyntax",
|
||||||
|
"description": "Git Syntax",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"engines": {
|
||||||
|
"vscode": "^1.5.0"
|
||||||
|
},
|
||||||
|
"categories": [
|
||||||
|
"Other"
|
||||||
|
],
|
||||||
|
"contributes": {
|
||||||
|
"languages": [
|
||||||
|
{
|
||||||
|
"id": "git-commit",
|
||||||
|
"aliases": [
|
||||||
|
"Git Commit Message",
|
||||||
|
"git-commit"
|
||||||
|
],
|
||||||
|
"filenames": [
|
||||||
|
"COMMIT_EDITMSG",
|
||||||
|
"MERGE_MSG"
|
||||||
|
],
|
||||||
|
"configuration": "./git-commit.language-configuration.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "git-rebase",
|
||||||
|
"aliases": [
|
||||||
|
"Git Rebase Message",
|
||||||
|
"git-rebase"
|
||||||
|
],
|
||||||
|
"filenames": [
|
||||||
|
"git-rebase-todo"
|
||||||
|
],
|
||||||
|
"configuration": "./git-rebase.language-configuration.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grammars": [
|
||||||
|
{
|
||||||
|
"language": "git-commit",
|
||||||
|
"scopeName": "text.git-commit",
|
||||||
|
"path": "./syntaxes/git-commit.tmLanguage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"language": "git-rebase",
|
||||||
|
"scopeName": "text.git-rebase",
|
||||||
|
"path": "./syntaxes/git-rebase.tmLanguage"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue