Skip to content

Commit efb3227

Browse files
committed
vim: add 'new' keyword
1 parent 06368a7 commit efb3227

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
@@ -14,7 +14,7 @@ syn match rustAssert "assert\(\w\)*"
1414
syn keyword rustKeyword alt as break
1515
syn keyword rustKeyword check claim cont const copy else export extern fail
1616
syn keyword rustKeyword do drop for if impl import in let log
17-
syn keyword rustKeyword loop mod mut of pure
17+
syn keyword rustKeyword loop mod mut new of pure
1818
syn keyword rustKeyword ret self to unchecked
1919
syn match rustKeyword "unsafe" " Allows also matching unsafe::foo()
2020
syn keyword rustKeyword use while with

0 commit comments

Comments
 (0)