summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-10-10 14:01:51 +0000
committerAli Polatel <hawking@gentoo.org>2008-10-10 14:01:51 +0000
commit719291b8ee2d616ba30015127f9f3e0374f98a09 (patch)
tree9f3ff2f3c83aef6f59600f64e9c69df5e8b1a03a /app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
parentShorten DESCRIPTION, bug 211377. (diff)
downloadhistorical-719291b8ee2d616ba30015127f9f3e0374f98a09.tar.gz
historical-719291b8ee2d616ba30015127f9f3e0374f98a09.tar.bz2
historical-719291b8ee2d616ba30015127f9f3e0374f98a09.zip
Add fixed patch for 2.18, bug 238436, thanks to Andrew Savchenko <Bircoph@list.ru>.
Package-Manager: portage--svn/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch')
-rw-r--r--app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
new file mode 100644
index 000000000000..3ea591e1e2fe
--- /dev/null
+++ b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch
@@ -0,0 +1,18 @@
+--- plugin/a.vim 2005-05-06 22:20:24.000000000 +0100
++++ 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")