mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-vim/alternate: Clean up old.
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="vim plugin: quickly switch between .c and .h files"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=31"
|
||||
|
||||
LICENSE="alternate"
|
||||
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides a new :A command which will switch between a .c
|
||||
file and the associated .h file. There is also :AS to split windows and
|
||||
:AV to split windows vertiically."
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# fix switching between .cc and .hh files, thanks ciaranm
|
||||
epatch "${FILESDIR}"/${P}-hh-cc-alternation.patch
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
--- a/plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
|
||||
+++ b/plugin/a.vim 2005-06-20 15:45:45.000000000 +0100
|
||||
@@ -57,13 +57,14 @@
|
||||
" Mappings for C and C++
|
||||
call <SID>AddAlternateExtensionMapping('h',"c,cpp,cxx,cc,CC")
|
||||
call <SID>AddAlternateExtensionMapping('H',"C,CPP,CXX,CC")
|
||||
+call <SID>AddAlternateExtensionMapping('hh',"c,cpp,cxx,cc,CC")
|
||||
call <SID>AddAlternateExtensionMapping('hpp',"cpp,c")
|
||||
call <SID>AddAlternateExtensionMapping('HPP',"CPP,C")
|
||||
call <SID>AddAlternateExtensionMapping('c',"h")
|
||||
call <SID>AddAlternateExtensionMapping('C',"H")
|
||||
call <SID>AddAlternateExtensionMapping('cpp',"h,hpp")
|
||||
call <SID>AddAlternateExtensionMapping('CPP',"H,HPP")
|
||||
-call <SID>AddAlternateExtensionMapping('cc',"h")
|
||||
+call <SID>AddAlternateExtensionMapping('cc',"h,hh")
|
||||
call <SID>AddAlternateExtensionMapping('CC',"H,h")
|
||||
call <SID>AddAlternateExtensionMapping('cxx',"h")
|
||||
call <SID>AddAlternateExtensionMapping('CXX',"H")
|
||||
Reference in New Issue
Block a user