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 a038d27 commit 1df5c52Copy full SHA for 1df5c52
src/etc/vim/syntax/rust.vim
@@ -20,7 +20,7 @@ syn keyword rustKeyword ret self to unchecked
20
syn match rustKeyword "unsafe" " Allows also matching unsafe::foo()
21
syn keyword rustKeyword use while with
22
" FIXME: Scoped impl's name is also fallen in this category
23
-syn keyword rustKeyword mod iface trait class enum type nextgroup=rustIdentifier skipwhite
+syn keyword rustKeyword mod iface trait class struct enum type nextgroup=rustIdentifier skipwhite
24
syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite
25
26
syn match rustIdentifier "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
0 commit comments