Skip to content

Commit 06c42b7

Browse files
committed
vim rustFuncCall contains rustAssert
1 parent b71a882 commit 06c42b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/vim/syntax/rust.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ syn keyword rustConstant STDIN_FILENO STDOUT_FILENO STDERR_FILENO
6666
syn match rustModPath "\w\(\w\)*::[^<]"he=e-3,me=e-3
6767
syn match rustModPathSep "::"
6868

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>();
69+
syn match rustFuncCall "\w\(\w\)*("he=e-1,me=e-1 contains=rustAssert
70+
syn match rustFuncCall "\w\(\w\)*::<"he=e-3,me=e-3 contains=rustAssert " foo::<T>();
7171

7272
syn region rustString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=rustTodo
7373

0 commit comments

Comments
 (0)