Skip to content

Commit 405b868

Browse files
committed
vim: add Self type
1 parent 0c1a345 commit 405b868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/vim/syntax/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ syn match rustFuncName "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%
3030
syn keyword rustKeyword m32 m64 m128 f80 f16 f128
3131

3232
syn keyword rustType int uint float char bool u8 u16 u32 u64 f32
33-
syn keyword rustType f64 i8 i16 i32 i64 str
33+
syn keyword rustType f64 i8 i16 i32 i64 str Self
3434
syn keyword rustType Option Either
3535

3636
" Types from libc

0 commit comments

Comments
 (0)