From e404a658b1647fad396a954776eda0bdabf8353c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 20 Dec 2016 20:57:20 +0100 Subject: Update --- syntax/rust.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syntax/rust.vim') diff --git a/syntax/rust.vim b/syntax/rust.vim index dd225116..c398252c 100644 --- a/syntax/rust.vim +++ b/syntax/rust.vim @@ -132,6 +132,7 @@ syn match rustOperator display "&&\|||" " This is rustArrowCharacter rather than rustArrow for the sake of matchparen, " so it skips the ->; see http://stackoverflow.com/a/30309949 for details. syn match rustArrowCharacter display "->" +syn match rustQuestionMark display "?\([a-zA-Z]\+\)\@!" syn match rustMacro '\w\(\w\)*!' contains=rustAssert,rustPanic syn match rustMacro '#\w\(\w\)*' contains=rustAssert,rustPanic @@ -280,6 +281,7 @@ hi def link rustInvalidBareKeyword Error hi def link rustExternCrate rustKeyword hi def link rustObsoleteExternMod Error hi def link rustBoxPlacementParens Delimiter +hi def link rustQuestionMark Special " Other Suggestions: " hi rustAttribute ctermfg=cyan -- cgit v1.2.3