Tweak rust highlighting

* Highlight ! in macro invocations the same color as the macro name
* Highlight crate and super the same everywhere

Refs atom/language-rust#1
This commit is contained in:
Max Brunsfeld 2018-10-19 10:44:50 -07:00
parent 7c0f2ef7ad
commit 2efd4ce367

View File

@ -55,6 +55,7 @@ scopes:
'''
macro_invocation > identifier,
macro_invocation > "!",
macro_definition > identifier,
call_expression > identifier,
call_expression > field_expression > field_identifier,
@ -69,13 +70,9 @@ scopes:
'''
use_list > self,
scoped_use_list > self,
scoped_identifier> self,
use_list > crate,
scoped_use_list > crate,
scoped_identifier> crate,
use_list > super,
scoped_use_list > super,
scoped_identifier> super
scoped_identifier > self,
crate,
super
''': 'keyword.control'
'''