Package Details: vim-rust-git 20200918-1

Git Clone URL: (read-only, click to copy)
Package Base: vim-rust-git
Description: Rust language support for Vim
Upstream URL:
Licenses: MIT, Apache
Conflicts: vim-rust
Provides: vim-rust
Submitter: yjerem
Maintainer: lilydjwg
Last Packager: lilydjwg
Votes: 28
Popularity: 0.37
First Submitted: 2014-08-03 13:01
Last Updated: 2020-09-29 05:28

Latest Comments

1 2 Next › Last »

Morganamilo commented on 2019-12-01 01:36

Please add the cargo syntax checker

diff --git a/PKGBUILD b/PKGBUILD
index 30a523d..132d372 100644
@@ -1,6 +1,6 @@
 # Maintainer: Jeremy Ruten <>
 pkgdesc="Syntax and supporting functionality for the Rust filetype"
@@ -32,6 +32,7 @@ package() {
   install -D -m644 after/syntax/rust.vim "${vimfiles}/after/syntax/rust.vim"
   install -D -m644 autoload/rustfmt.vim "${vimfiles}/autoload/rustfmt.vim"
   install -D -m644 autoload/rust.vim "${vimfiles}/autoload/rust.vim"
+  install -D -m644 autoload/cargo.vim "${vimfiles}/autoload/cargo.vim"
   install -D -m644 compiler/rustc.vim "${vimfiles}/compiler/rustc.vim"
   install -D -m644 compiler/cargo.vim "${vimfiles}/compiler/cargo.vim"
   install -D -m644 doc/rust.txt "${vimfiles}/doc/rust.txt"
@@ -41,6 +42,7 @@ package() {
   install -D -m644 plugin/rust.vim "${vimfiles}/plugin/rust.vim"
   install -D -m644 syntax/rust.vim "${vimfiles}/syntax/rust.vim"
   install -D -m644 syntax_checkers/rust/rustc.vim "${vimfiles}/syntax_checkers/rust/rustc.vim"
+  install -D -m644 syntax_checkers/rust/cargo.vim "${vimfiles}/syntax_checkers/rust/cargo.vim"

   # Produce a warning if new files get added to the repo in the future.
   if ! find . | grep -v "./.git" | sort | diff - "${srcdir}/git-manifest.txt"

kpcyrd commented on 2017-01-07 23:50

==> Starting pkgver()...
/tmp/yaourt-tmp-user/aur-vim-rust-git/./PKGBUILD: line 19: cd: /tmp/yaourt-tmp-user/aur-vim-rust-git/src/rust.vim: No such file or directory
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
==> ERROR: Makepkg was unable to build vim-rust-git.
==> Restart building vim-rust-git ? [y/N]

Can you please fix this. Also, don't use git:// as source, there is no checksum verification and you're installing unauthenticated files from the network as root.

Anonymous comment on 2016-04-24 16:58

I can't use the rustfmt command, since
/autoload/rustfmt.vim and /plugin/rustfmt.vim are not included.

yjerem commented on 2015-02-01 05:06

@lilydjwg: done!

lilydjwg commented on 2015-02-01 04:25

I guess it's time to switch upstream to

yjerem commented on 2014-10-03 04:18

Package updated to install the new ${vimfiles}/compiler/cargo.vim file.

yjerem commented on 2014-09-13 21:49

I guess I can't make vim-rust-git conflict with rust, because rust-nightly-bin provides rust. And this package is specifically for rust-nightly-bin users, because it's the only rust package that doesn't install the vimfiles.

yjerem commented on 2014-09-13 21:30

@emanueLczirai: Thanks for letting me know, I guess some rust packages include the vim stuff, and others don't, like rust-nightly-bin. I'll add the conflicting ones to the PKGBUILD.

abandonedaccount commented on 2014-09-13 19:56

looks like vim-rust-git conflicts with rust package
after having installed vim-rust-git and now trying to install rust, failed with:
(2/2) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
rust: /usr/share/vim/vimfiles/after/syntax/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/autoload/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/compiler/rustc.vim exists in filesystem
rust: /usr/share/vim/vimfiles/doc/rust.txt exists in filesystem
rust: /usr/share/vim/vimfiles/ftdetect/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/ftplugin/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/indent/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/plugin/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/syntax/rust.vim exists in filesystem
rust: /usr/share/vim/vimfiles/syntax_checkers/rust/rustc.vim exists in filesystem
Errors occurred, no packages were upgraded.

but after removing vim-rust-git then allowed the rust package to install

bitcrusher commented on 2014-09-01 20:53

thanks for this!