diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-05 18:58:19 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-05 18:59:01 -0700 |
| commit | 2ba632a683f21f306e1f71c1bd867752b93ebd3b (patch) | |
| tree | e6bd2eaa47ca8f56a3d934ef65671b422e4fa402 /src/etc/vim/syntax | |
| parent | 3a34c96086e88466e350100af874f07b387a7620 (diff) | |
vim: Turn "pub" into a big asterisk for those who dislike the look of it.
This is not the default and must be turned on.
Diffstat (limited to 'src/etc/vim/syntax')
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index fb61195c6b2..9de5c4e0676 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -14,7 +14,8 @@ syn match rustAssert "\<assert\(\w\)*" syn keyword rustKeyword again as break syn keyword rustKeyword const copy do drop else export extern fail syn keyword rustKeyword for if impl import in let log -syn keyword rustKeyword loop match mod module move mut new of owned priv pub pure +syn keyword rustKeyword loop match mod module move mut new of owned priv pure +syn match rustKeyword "\<pub\>" syn keyword rustKeyword ref return static to unchecked syn match rustKeyword "\<unsafe\>" " Allows also matching unsafe::foo() syn keyword rustKeyword use while with |
