@@ -10,11 +10,10 @@ elseif exists("b:current_syntax")
10
10
finish
11
11
endif
12
12
13
- syn match rustAssert " \< assert\(\w\) *"
14
13
syn keyword rustKeyword as break
15
14
syn keyword rustKeyword copy do drop else extern
16
15
syn keyword rustKeyword for if impl let log
17
- syn keyword rustKeyword loop match mod once priv pub pure
16
+ syn keyword rustKeyword loop match mod once priv pub
18
17
syn keyword rustKeyword ref return static
19
18
syn keyword rustKeyword unsafe use while
20
19
" FIXME: Scoped impl's name is also fallen in this category
@@ -71,8 +70,8 @@ syn keyword rustConstant STDIN_FILENO STDOUT_FILENO STDERR_FILENO
71
70
syn match rustModPath " \w\(\w\) *::[^<]" he =e - 3 ,me =e - 3
72
71
syn match rustModPathSep " ::"
73
72
74
- syn match rustFuncCall " \w\(\w\) *(" he =e - 1 ,me =e - 1 contains = rustAssert
75
- syn match rustFuncCall " \w\(\w\) *::<" he =e - 3 ,me =e - 3 contains = rustAssert " foo::<T>();
73
+ syn match rustFuncCall " \w\(\w\) *(" he =e - 1 ,me =e - 1
74
+ syn match rustFuncCall " \w\(\w\) *::<" he =e - 3 ,me =e - 3 " foo::<T>();
76
75
77
76
syn match rustMacro ' \w\(\w\) *!'
78
77
syn match rustMacro ' #\w\(\w\) *'
@@ -126,7 +125,6 @@ hi def link rustBoolean Boolean
126
125
hi def link rustConstant Constant
127
126
hi def link rustSelf Constant
128
127
hi def link rustFloat Float
129
- hi def link rustAssert Keyword
130
128
hi def link rustKeyword Keyword
131
129
hi def link rustIdentifier Identifier
132
130
hi def link rustModPath Include
@@ -140,7 +138,6 @@ hi def link rustStorage StorageClass
140
138
hi def link rustLifetime Special
141
139
142
140
" Other Suggestions:
143
- " hi rustAssert ctermfg=yellow
144
141
" hi rustMacro ctermfg=magenta
145
142
146
143
syn sync minlines =200
0 commit comments