Tweak rust highlighting

* Highlight self as special variable

Closes atom/language-rust#3
This commit is contained in:
Max Brunsfeld
2018-10-19 10:55:18 -07:00
parent 2efd4ce367
commit c155f7ccfa

View File

@@ -75,6 +75,8 @@ scopes:
super
''': 'keyword.control'
'self': 'variable.self'
'''
use_wildcard > identifier:nth-child(0),
scoped_type_identifier > identifier:nth-child(0),