mirror of https://github.com/microsoft/vscode.git
Adopt new Ruby grammar (#235732)
This commit is contained in:
parent
d9cf59b66d
commit
09fe3fcbc1
|
@ -4,27 +4,56 @@
|
|||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "textmate/ruby.tmbundle",
|
||||
"repositoryUrl": "https://github.com/textmate/ruby.tmbundle",
|
||||
"commitHash": "efcb8941c701343f1b2e9fb105c678152fea6892"
|
||||
"name": "Shopify/ruby-lsp",
|
||||
"repositoryUrl": "https://github.com/Shopify/ruby-lsp",
|
||||
"commitHash": "01a8ecf608b7d8607adcd89c32db72ae3852f33b"
|
||||
}
|
||||
},
|
||||
"licenseDetail": [
|
||||
"Copyright (c) textmate-ruby.tmbundle project authors",
|
||||
"The MIT License (MIT)",
|
||||
"",
|
||||
"If not otherwise specified (see below), files in this folder fall under the following license: ",
|
||||
"Copyright (c) 2022-present, Shopify Inc.",
|
||||
"",
|
||||
"Permission to copy, use, modify, sell and distribute this",
|
||||
"software is granted. This software is provided \"as is\" without",
|
||||
"express or implied warranty, and with no claim as to its",
|
||||
"suitability for any purpose.",
|
||||
"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:",
|
||||
"",
|
||||
"An exception is made for files in readable text which contain their own license information, ",
|
||||
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added ",
|
||||
"to the base-name name of the original file, and an extension of txt, html, or similar. For example ",
|
||||
"\"tidy\" is accompanied by \"tidy-license.txt\"."
|
||||
"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.",
|
||||
"",
|
||||
"================================================================================",
|
||||
"The following files and related configuration in package.json are based on a",
|
||||
"sequence of adaptions: grammars/ruby.cson.json, grammars/erb.cson.json,",
|
||||
"languages/erb.json.",
|
||||
"",
|
||||
"Copyright (c) 2016 Peng Lv",
|
||||
"Copyright (c) 2017-2019 Stafford Brunk",
|
||||
"https://github.com/rubyide/vscode-ruby",
|
||||
"",
|
||||
" Released under the MIT license",
|
||||
" https://github.com/rubyide/vscode-ruby/blob/main/LICENSE.txt",
|
||||
"",
|
||||
"Copyright (c) 2014 GitHub Inc.",
|
||||
"https://github.com/atom/language-ruby",
|
||||
"",
|
||||
" Released under the MIT license",
|
||||
" https://github.com/atom/language-ruby/blob/master/LICENSE.md",
|
||||
"",
|
||||
"https://github.com/textmate/ruby.tmbundle",
|
||||
" https://github.com/textmate/ruby.tmbundle#license"
|
||||
],
|
||||
"license": "TextMate Bundle License",
|
||||
"license": "MIT License",
|
||||
"version": "0.0.0"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"vscode": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin textmate/ruby.tmbundle Syntaxes/Ruby.plist ./syntaxes/ruby.tmLanguage.json"
|
||||
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin Shopify/ruby-lsp vscode/grammars/ruby.cson.json ./syntaxes/ruby.tmLanguage.json"
|
||||
},
|
||||
"categories": ["Programming Languages"],
|
||||
"contributes": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -64,7 +64,8 @@
|
|||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class"
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4EC9B0"
|
||||
|
|
|
@ -395,7 +395,8 @@
|
|||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class"
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4EC9B0"
|
||||
|
|
|
@ -429,7 +429,8 @@
|
|||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class"
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#185E73"
|
||||
|
|
|
@ -64,7 +64,8 @@
|
|||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class"
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#267f99"
|
||||
|
|
|
@ -187,7 +187,8 @@
|
|||
"scope": [
|
||||
"string",
|
||||
"constant.other.symbol",
|
||||
"entity.other.inherited-class"
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#889b4a"
|
||||
|
|
|
@ -160,7 +160,10 @@
|
|||
},
|
||||
{
|
||||
"name": "Inherited class",
|
||||
"scope": "entity.other.inherited-class",
|
||||
"scope": [
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "",
|
||||
"foreground": "#C7444A"
|
||||
|
|
|
@ -213,7 +213,10 @@
|
|||
},
|
||||
{
|
||||
"name": "Inherited class",
|
||||
"scope": "entity.other.inherited-class",
|
||||
"scope": [
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "italic underline",
|
||||
"foreground": "#A6E22E"
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
"entity.name.namespace",
|
||||
"entity.name.scope-resolution",
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby",
|
||||
"support.class"
|
||||
],
|
||||
"settings": {
|
||||
|
|
|
@ -150,8 +150,11 @@
|
|||
},
|
||||
{
|
||||
"name": "Entity inherited-class",
|
||||
"scope": "entity.other.inherited-class",
|
||||
"settings": {
|
||||
"scope": [
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "underline",
|
||||
"foreground": "#aa5507ff"
|
||||
}
|
||||
|
|
|
@ -140,7 +140,10 @@
|
|||
},
|
||||
{
|
||||
"name": "Inherited class",
|
||||
"scope": "entity.other.inherited-class",
|
||||
"scope": [
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#6C71C4"
|
||||
}
|
||||
|
|
|
@ -140,7 +140,10 @@
|
|||
},
|
||||
{
|
||||
"name": "Inherited class",
|
||||
"scope": "entity.other.inherited-class",
|
||||
"scope": [
|
||||
"entity.other.inherited-class",
|
||||
"punctuation.separator.namespace.ruby",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#6C71C4"
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
},
|
||||
{
|
||||
"name": "String, Symbols, Inherited Class, Markup Heading, GitGutter inserted",
|
||||
"scope": "string, constant.other.symbol, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter",
|
||||
"scope": "string, constant.other.symbol, entity.other.inherited-class, punctuation.separator.namespace.ruby, markup.heading, markup.inserted.git_gutter",
|
||||
"settings": {
|
||||
"fontStyle": "",
|
||||
"foreground": "#D1F1A9"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue