diff options
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.patch | 18 |
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..14b314aa0e0c --- /dev/null +++ b/app-vim/alternate/files/alternate-2.18-hh-cc-alternation.patch @@ -0,0 +1,18 @@ +--- 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") |