Update grammars

This commit is contained in:
Alex Ross
2018-12-12 17:25:07 +01:00
parent 4161bfc71d
commit 6c6cd0aab4
34 changed files with 178 additions and 79 deletions

View File

@@ -4,7 +4,7 @@
"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/zargony/atom-language-rust/commit/179f449a69182cae4fcdf644d59d842b7e445f89",
"version": "https://github.com/zargony/atom-language-rust/commit/5238d9834953ed7c58d9b5b9bb0c084c3c11ecd6",
"name": "Rust",
"scopeName": "source.rust",
"patterns": [
@@ -30,6 +30,9 @@
{
"include": "#mut"
},
{
"include": "#dyn"
},
{
"include": "#ref_lifetime"
},
@@ -181,6 +184,12 @@
{
"include": "#mut"
},
{
"include": "#dyn"
},
{
"include": "#impl"
},
{
"include": "#box"
},
@@ -323,6 +332,12 @@
{
"include": "#mut"
},
{
"include": "#dyn"
},
{
"include": "#impl"
},
{
"include": "#ref_lifetime"
},
@@ -424,6 +439,12 @@
{
"include": "#mut"
},
{
"include": "#dyn"
},
{
"include": "#impl"
},
{
"include": "#lifetime"
},
@@ -528,6 +549,16 @@
"name": "storage.modifier.mut.rust",
"match": "\\bmut\\b"
},
"dyn": {
"comment": "Dynamic modifier",
"name": "storage.modifier.dyn.rust",
"match": "\\bdyn\\b"
},
"impl": {
"comment": "Existential type modifier",
"name": "storage.modifier.impl.rust",
"match": "\\bimpl\\b"
},
"box": {
"comment": "Box storage modifier",
"name": "storage.modifier.box.rust",
@@ -628,6 +659,12 @@
{
"include": "#mut"
},
{
"include": "#dyn"
},
{
"include": "#impl"
},
{
"include": "#lifetime"
},