mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-vim/rainbow: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
app-vim/rainbow/Manifest
Normal file
1
app-vim/rainbow/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST rainbow-3.4.0_p20200528.tar.gz 14901 BLAKE2B c6e5f2ab3fc16fe0cf2e00429027416d516a08ada49fb24207f8f0a410b3b29ffee6f6eab74f8f8f8be6425e28dc61fe52d994dc020b457c10aa0b4524b6ab68 SHA512 e91e0b969d46dc2507cfcdfd8e9ceea26e863ecf2a532b51129744e961c383c24d63e2a213cfffbad22c278d65652aff9c97afcfe6f271ffd60d9a57305a0948
|
||||||
8
app-vim/rainbow/files/README.gentoo
Normal file
8
app-vim/rainbow/files/README.gentoo
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
CMakeLists.txt syntax highlighting is broken with rainbow enabled.
|
||||||
|
Add this to your vimrc to work around the bug:
|
||||||
|
|
||||||
|
let g:rainbow_conf = {
|
||||||
|
\ 'separately': {
|
||||||
|
\ 'cmake': 0,
|
||||||
|
\ }
|
||||||
|
\}
|
||||||
8
app-vim/rainbow/metadata.xml
Normal file
8
app-vim/rainbow/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>cyber+gentoo@sysrq.in</email>
|
||||||
|
<name>Anna</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
29
app-vim/rainbow/rainbow-3.4.0_p20200528.ebuild
Normal file
29
app-vim/rainbow/rainbow-3.4.0_p20200528.ebuild
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit readme.gentoo-r1 vim-plugin
|
||||||
|
|
||||||
|
COMMIT="4d15633cdaf61602e1d9fd216a77fc02e0881b2d"
|
||||||
|
DESCRIPTION="vim plugin: Rainbow Parentheses Improved"
|
||||||
|
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4176
|
||||||
|
https://github.com/luochen1990/rainbow"
|
||||||
|
SRC_URI="https://github.com/luochen1990/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPFILES="rainbow"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rm -r tests || die
|
||||||
|
vim-plugin_src_install
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
vim-plugin_pkg_postinst
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user