mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03: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:
parent
7c0f2ef7ad
commit
2efd4ce367
@ -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'
|
||||
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user