We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b13e8 commit 2ffa9b6Copy full SHA for 2ffa9b6
src/etc/vim/syntax/rust.vim
@@ -66,6 +66,9 @@ syn keyword rustConstant STDIN_FILENO STDOUT_FILENO STDERR_FILENO
66
syn match rustModPath "\w\(\w\)*::[^<]"he=e-3,me=e-3
67
syn match rustModPathSep "::"
68
69
+syn match rustFuncCall "\w\(\w\)*("he=e-1,me=e-1
70
+syn match rustFuncCall "\w\(\w\)*::<"he=e-3,me=e-3 " foo::<T>();
71
+
72
syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo
73
74
syn region rustAttribute start="#\[" end="\]" contains=rustString
@@ -119,6 +122,7 @@ hi def link rustAttribute PreProc
119
122
" Other Suggestions:
120
123
" hi def link rustModPathSep Conceal
121
124
" hi rustAssert ctermfg=yellow
125
+" hi rustFuncCall ctermfg=magenta
126
127
syn sync minlines=200
128
syn sync maxlines=500
0 commit comments