We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71a882 commit 06c42b7Copy full SHA for 06c42b7
src/etc/vim/syntax/rust.vim
@@ -66,8 +66,8 @@ 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>();
+syn match rustFuncCall "\w\(\w\)*("he=e-1,me=e-1 contains=rustAssert
+syn match rustFuncCall "\w\(\w\)*::<"he=e-3,me=e-3 contains=rustAssert " foo::<T>();
71
72
syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo
73
0 commit comments