-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from o01eg/master
dev-utils/racer: Remove vim and emacs plugins installation.
- Loading branch information
Showing
4 changed files
with
45 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>vim</herd> | ||
<maintainer> | ||
<email>o01eg@yandex.ru</email> | ||
<name>O01eg</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
Vim plugin for racer - RUST completion utility. | ||
</longdescription> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit vim-plugin git-r3 | ||
|
||
DESCRIPTION="vim plugin: racer support" | ||
HOMEPAGE="https://github.com/racer-rust/vim-racer" | ||
LICENSE="MIT" | ||
KEYWORDS="" | ||
IUSE="" | ||
EGIT_REPO_URI="https://github.com/racer-rust/vim-racer" | ||
RDEPEND="dev-util/racer" | ||
|
||
src_prepare() { | ||
sed -i 's|\(g:racer_cmd = \).*|\1"/usr/bin/racer"|' plugin/racer.vim | ||
} | ||
|
||
pkg_postinst() { | ||
vim-plugin_pkg_postinst | ||
|
||
elog "For vim you can use 'let \$RUST_SRC_PATH=\"<path-to>/rust/src/\"'" | ||
elog "if you don't want to use environment variable" | ||
elog "You also can use \"set hidden\" or else your buffer will be" | ||
elog "unloaded on every goto-definition" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters