òÅÐÏÚÉÔÏÒÉÊ Sisyphus
ðÏÓÌÅÄÎÅÅ ÏÂÎÏ×ÌÅÎÉÅ: 1 ÏËÔÑÂÒÑ 2023 | ðÁËÅÔÏ×: 18631 | ðÏÓÅÝÅÎÉÊ: 37044448
en ru br
òÅÐÏÚÉÔÏÒÉÉ ALT
S:20040316-alt2.1
5.1: 20040316-alt1.1
4.1: 20040316-alt1.1
4.0: 20040316-alt1.1
3.0: 20040316-alt1.1
www.altlinux.org/Changes

çÒÕÐÐÁ :: òÅÄÁËÔÏÒÙ
ðÁËÅÔ: vim-plugin-lh_cpp-ftplugin

 çÌÁ×ÎÁÑ   éÚÍÅÎÅÎÉÑ   óÐÅË   ðÁÔÞÉ   Sources   úÁÇÒÕÚÉÔØ   Gear   Bugs and FR  Repocop 

ðÁÔÞ: vim-plugin-lh_cpp-ftplugin-20040316-alt-disable-default.patch
óËÁÞÁÔØ


diff -urN lh-cpp.orig/after/plugin/mu-template.vim lh-cpp/after/plugin/mu-template.vim
--- lh-cpp.orig/after/plugin/mu-template.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/after/plugin/mu-template.vim	2004-08-17 23:18:46 +0600
@@ -167,6 +167,11 @@
 "	Menu: toggle the value of some options.
 "
 "}}}1
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 "========================================================================
 if exists("g:mu_template") | finish | endif
 let g:mu_template = 1
diff -urN lh-cpp.orig/fold/c-fold.vim lh-cpp/fold/c-fold.vim
--- lh-cpp.orig/fold/c-fold.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/fold/c-fold.vim	2004-08-18 00:00:40 +0600
@@ -33,6 +33,10 @@
 " setlocal foldmethod=syntax
 " finish
 
+if !exists("use_lh_cpp_folding")
+ finish
+endif
+
 " [-- local settings --]               {{{1
 setlocal foldexpr=CFold0(v:lnum)
 setlocal foldtext=CFoldText()
diff -urN lh-cpp.orig/ftplugin/c/c_set.vim lh-cpp/ftplugin/c/c_set.vim
--- lh-cpp.orig/ftplugin/c/c_set.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/c/c_set.vim	2004-08-17 23:19:50 +0600
@@ -16,6 +16,9 @@
 " ========================================================================
 
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
 
 
 " ========================================================================
diff -urN lh-cpp.orig/ftplugin/c/c_stl.vim lh-cpp/ftplugin/c/c_stl.vim
--- lh-cpp.orig/ftplugin/c/c_stl.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/c/c_stl.vim	2004-08-17 23:19:58 +0600
@@ -14,6 +14,11 @@
 " History:	«history»
 " TODO:		«missing features»
 "=============================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Local Definitions: {{{
 " Avoid reinclusion
 finish
diff -urN lh-cpp.orig/ftplugin/c/flistmaps.vim lh-cpp/ftplugin/c/flistmaps.vim
--- lh-cpp.orig/ftplugin/c/flistmaps.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/c/flistmaps.vim	2004-08-17 23:20:11 +0600
@@ -3,6 +3,11 @@
 " Copyright: Charles E. Campbell, Jr.
 " License  : refer to the <Copyright> file for flist
 "
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if !exists("g:loaded_flistmaps_vim")
   let g:loaded_flistmaps_vim = 1
 
diff -urN lh-cpp.orig/ftplugin/c/LoadHeaderFile.vim lh-cpp/ftplugin/c/LoadHeaderFile.vim
--- lh-cpp.orig/ftplugin/c/LoadHeaderFile.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/c/LoadHeaderFile.vim	2004-08-17 23:19:40 +0600
@@ -4,6 +4,10 @@
 " -> Change the way the filename is extracted from the include line
 " Maintainer: Garner Halloran (garner@havoc.gtf.org)
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if !exists( "g:loaded_LoadHeaderFile" ) 
   ""finish 
 ""endif
diff -urN lh-cpp.orig/ftplugin/c/previewWord.vim lh-cpp/ftplugin/c/previewWord.vim
--- lh-cpp.orig/ftplugin/c/previewWord.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/c/previewWord.vim	2004-08-17 23:21:56 +0600
@@ -25,6 +25,11 @@
 " History:	«history»
 " TODO:		«missing features»
 "=============================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Buffer definitions {{{
 " Avoid reinclusion
 if exists('b:loaded_ftplug_previewWord_vim') | finish | endif
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_BuildTemplates.vim lh-cpp/ftplugin/cpp/cpp_BuildTemplates.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_BuildTemplates.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_BuildTemplates.vim	2004-08-17 23:22:18 +0600
@@ -11,6 +11,10 @@
 " * Correct the ftplugin to be VIM 6 fully compliant
 " ========================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " ========================================================================
 " Buffer local definitions {{{
 " ========================================================================
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_FindContextClass.vim lh-cpp/ftplugin/cpp/cpp_FindContextClass.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_FindContextClass.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_FindContextClass.vim	2004-08-17 23:22:27 +0600
@@ -45,6 +45,11 @@
 " (*) Must we differentiate anonymous namespaces from the global namespace ?
 " }}}
 " ==========================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " No reinclusion {{{
 if exists("g:loaded_cpp_FindContextClass_vim") 
       \ && !exists('g:force_load_cpp_FindContextClass')
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_GotoFunctionImpl.vim lh-cpp/ftplugin/cpp/cpp_GotoFunctionImpl.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_GotoFunctionImpl.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_GotoFunctionImpl.vim	2004-08-17 23:22:34 +0600
@@ -137,6 +137,11 @@
 " 		a.vim
 " }}}
 "#############################################################################
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Buffer Relative stuff {{{
 if exists("b:loaded_ftplug_cpp_GotoFunctionImpl_vim") 
       \ && !exists('g:force_load_cpp_GotoFunctionImpl_vim')
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_InsertAccessors.vim lh-cpp/ftplugin/cpp/cpp_InsertAccessors.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_InsertAccessors.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_InsertAccessors.vim	2004-08-17 23:22:44 +0600
@@ -26,6 +26,10 @@
 " }}}
 " ==========================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if exists("g:loaded_cpp_InsertAccessors_vim") | finish | endif
   let g:loaded_cpp_InsertAccessors_vim = 1
   "
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_options-commands.vim lh-cpp/ftplugin/cpp/cpp_options-commands.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_options-commands.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_options-commands.vim	2004-08-17 23:22:51 +0600
@@ -17,6 +17,11 @@
 " TODO:		Find a way to define options for a project or a hierarchy
 " tree.
 "=============================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion {{{
 if exists('b:loaded_ftplug_cpp_options_commands_vim') | finish | endif
 let b:loaded_ftplug_cpp_options_commands_vim = 1
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_options.vim lh-cpp/ftplugin/cpp/cpp_options.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_options.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_options.vim	2004-08-17 23:23:21 +0600
@@ -1,4 +1,9 @@
 " Options for C & C++ editing.
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if !exists("g:do_load_cpp_options") | finish | endif
 unlet g:do_load_cpp_options
 "
diff -urN lh-cpp.orig/ftplugin/cpp/cpp_set.vim lh-cpp/ftplugin/cpp/cpp_set.vim
--- lh-cpp.orig/ftplugin/cpp/cpp_set.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/ftplugin/cpp/cpp_set.vim	2004-08-17 23:23:46 +0600
@@ -19,6 +19,9 @@
 "    implementations & inlinings
 " ========================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
 
 " ========================================================================
 " Buffer local definitions
diff -urN lh-cpp.orig/ftplugin/template.vim lh-cpp/ftplugin/template.vim
--- lh-cpp.orig/ftplugin/template.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/ftplugin/template.vim	2004-08-17 23:19:29 +0600
@@ -24,6 +24,11 @@
 " TODO:		«missing features»
 "=============================================================================
 "
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion
 if exists('b:loaded_ftplug_c__template_vim') | finish | endif
 let b:loaded_ftplug_c__template_vim = 1
diff -urN lh-cpp.orig/plugin/bracketing.base.vim lh-cpp/plugin/bracketing.base.vim
--- lh-cpp.orig/plugin/bracketing.base.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/bracketing.base.vim	2004-08-17 23:24:58 +0600
@@ -113,6 +113,11 @@
 "------------------------------------------------------------------------
 " }}}1
 " ===========================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " scriptencoding latin1
 " Settings	{{{1
 " ========
diff -urN lh-cpp.orig/plugin/common_brackets.vim lh-cpp/plugin/common_brackets.vim
--- lh-cpp.orig/plugin/common_brackets.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/common_brackets.vim	2004-08-17 23:25:11 +0600
@@ -92,7 +92,11 @@
 "	(*) Systematically use b:usemarks for opening and closing
 " }}}1
 "===========================================================================
-"
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 "======================================================================
 " line continuation used here ??
 let s:cpo_save = &cpo
diff -urN lh-cpp.orig/plugin/fileuptodate.vim lh-cpp/plugin/fileuptodate.vim
--- lh-cpp.orig/plugin/fileuptodate.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/fileuptodate.vim	2004-08-17 23:25:17 +0600
@@ -6,6 +6,11 @@
 " Purpose:	Checks if a <file2> is more recent than <file1>
 " ==========================================================================
 "
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if !exists("g:fileuptodate_vim")
   let g:fileuptodate_vim = 1
   "
diff -urN lh-cpp.orig/plugin/homeLikeVC++.vim lh-cpp/plugin/homeLikeVC++.vim
--- lh-cpp.orig/plugin/homeLikeVC++.vim	2004-03-21 07:49:37 +0500
+++ lh-cpp/plugin/homeLikeVC++.vim	2004-08-17 23:25:24 +0600
@@ -16,6 +16,11 @@
 " TODO:		any missing features ?
 "=============================================================================
 "
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion
 if exists("g:loaded_homeLikeVC_vim") | finish | endif
 let g:loaded_homeLikeVC_vim = 1
diff -urN lh-cpp.orig/plugin/misc_map.vim lh-cpp/plugin/misc_map.vim
--- lh-cpp.orig/plugin/misc_map.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/misc_map.vim	2004-08-17 23:26:08 +0600
@@ -78,6 +78,11 @@
 " }}}
 "===========================================================================
 "
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 "---------------------------------------------------------------------------
 " Avoid reinclusion
 if !exists('g:misc_map_loaded') || exists('g:force_load_misc_map')
diff -urN lh-cpp.orig/plugin/searchInRuntime.vim lh-cpp/plugin/searchInRuntime.vim
--- lh-cpp.orig/plugin/searchInRuntime.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/searchInRuntime.vim	2004-08-17 23:26:19 +0600
@@ -96,6 +96,10 @@
 "
 " ========================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 if exists("g:searchInRuntime_vim") | finish | endif
 let g:searchInRuntime_vim = 1
 "
diff -urN lh-cpp.orig/plugin/system_utils.vim lh-cpp/plugin/system_utils.vim
--- lh-cpp.orig/plugin/system_utils.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/system_utils.vim	2004-08-17 23:26:26 +0600
@@ -33,6 +33,10 @@
 " }}}1
 "=============================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion {{{1
 if exists("g:loaded_system_utils_vim") && 
       \ (!exists('g:do_load_system_utils') || !g:do_load_system_utils)
diff -urN lh-cpp.orig/plugin/Triggers.vim lh-cpp/plugin/Triggers.vim
--- lh-cpp.orig/plugin/Triggers.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/Triggers.vim	2004-08-17 23:24:03 +0600
@@ -75,6 +75,11 @@
 "===========================================================================
 "
 "---------------------------------------------------------------------------
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion
 if exists('g:do_load_Triggers') || !exists('g:Triggers_loaded')
   let g:Triggers_loaded = 1
diff -urN lh-cpp.orig/plugin/ui-functions.vim lh-cpp/plugin/ui-functions.vim
--- lh-cpp.orig/plugin/ui-functions.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/ui-functions.vim	2004-08-17 23:26:34 +0600
@@ -43,6 +43,11 @@
 "
 " }}}1
 "=============================================================================
+
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Avoid reinclusion {{{1
 " 
 if exists("g:loaded_ui_functions_vim") 
diff -urN lh-cpp.orig/plugin/words_tools.vim lh-cpp/plugin/words_tools.vim
--- lh-cpp.orig/plugin/words_tools.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/plugin/words_tools.vim	2004-08-17 23:26:40 +0600
@@ -11,6 +11,10 @@
 "
 "===========================================================================
 
+if !exists("use_lh_cpp_ftplugin")
+ finish
+endif
+
 " Return the current keyword, uses spaces to delimitate {{{1
 function! GetNearestKeyword()
   let c = col ('.')-1
diff -urN lh-cpp.orig/syntax/2html.vim lh-cpp/syntax/2html.vim
--- lh-cpp.orig/syntax/2html.vim	2004-03-21 07:49:38 +0500
+++ lh-cpp/syntax/2html.vim	2004-08-17 23:32:18 +0600
@@ -1,3 +1,8 @@
+if !exists("use_lh_cpp_ftplugin")
+ source $VIMRUNTIME/syntax/2html.vim
+ finish
+endif
+
 " deactivate mu-template.vim
 let s:mu_template = 
       \ exists('g:mt_IDontWantTemplatesAutomaticallyInserted')
 
ÄÉÚÁÊÎ É ÒÁÚÒÁÂÏÔËÁ: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
ÔÅËÕÝÉÊ ÍÁÊÎÔÅÊÎÅÒ: Michael Shigorin