[ruby] update grammar

This commit is contained in:
Martin Aeschlimann 2017-05-18 13:06:54 +02:00
parent 5a700f5a84
commit b2c10e50c8
4 changed files with 2737 additions and 4100 deletions

View file

@ -17,11 +17,12 @@
"grammars": [{
"language": "ruby",
"scopeName": "source.ruby",
"path": "./syntaxes/Ruby.plist"
"path": "./syntaxes/ruby.tmLanguage.json"
}]
},
"scripts": {
"compile": "gulp compile-extension:ruby",
"watch": "gulp watch-extension:ruby"
"watch": "gulp watch-extension:ruby",
"update-grammar": "node ../../build/npm/update-grammar.js textmate/ruby.tmbundle Syntaxes/Ruby.plist ./syntaxes/ruby.tmLanguage.json"
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -375,7 +375,7 @@
},
{
"c": "::",
"t": "source.ruby punctuation.separator.other.ruby",
"t": "source.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -397,7 +397,7 @@
},
{
"c": "::",
"t": "source.ruby punctuation.separator.other.ruby",
"t": "source.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -419,7 +419,7 @@
},
{
"c": "::",
"t": "source.ruby punctuation.separator.other.ruby",
"t": "source.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -1486,7 +1486,7 @@
},
{
"c": "::",
"t": "source.ruby punctuation.separator.other.ruby",
"t": "source.ruby punctuation.separator.namespace.ruby",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
@ -1695,7 +1695,7 @@
},
{
"c": "self",
"t": "source.ruby variable.language.ruby",
"t": "source.ruby variable.language.self.ruby",
"r": {
"dark_plus": "variable.language: #569CD6",
"light_plus": "variable.language: #0000FF",
@ -1827,7 +1827,7 @@
},
{
"c": "self",
"t": "source.ruby variable.language.ruby",
"t": "source.ruby variable.language.self.ruby",
"r": {
"dark_plus": "variable.language: #569CD6",
"light_plus": "variable.language: #0000FF",