Skip to content

Commit 6052d67

Browse files
committed
vim: pub is just a plain old token keyword
1 parent 00201c9 commit 6052d67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/etc/vim/syntax/rust.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ syn match rustAssert "\<assert\(\w\)*"
1414
syn keyword rustKeyword as break
1515
syn keyword rustKeyword copy do drop else extern fail
1616
syn keyword rustKeyword for if impl let log
17-
syn keyword rustKeyword loop match mod move once priv pure
18-
syn match rustKeyword "\<pub\>"
17+
syn keyword rustKeyword loop match mod move once priv pub pure
1918
syn keyword rustKeyword ref return static
2019
syn keyword rustKeyword unsafe use while
2120
" FIXME: Scoped impl's name is also fallen in this category

0 commit comments

Comments
 (0)