mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
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:
@@ -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'
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user