]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-vimrc.patch
- allow missing runtime/syntax/* dir
[packages/vim.git] / vim-vimrc.patch
index 165e8fe1e778c700576ed1f6067b109095b72a9a..430a46ef243b215270770d5e8edefcdd3a583c34 100644 (file)
@@ -1,12 +1,29 @@
-diff -urN vim61/runtime/vimrc_example.vim vim61.pld/runtime/vimrc_example.vim
---- vim61/runtime/vimrc_example.vim    Wed Jul 18 21:59:50 2001
-+++ vim61.pld/runtime/vimrc_example.vim        Wed Sep  4 17:36:28 2002
-@@ -73,3 +73,8 @@
-     \ endif
+--- vim72/runtime/vimrc_example.vim    2008-08-18 13:33:06.007243535 +0300
++++ vim72/runtime/vimrc_example.vim    2009-05-14 02:04:43.261671071 +0300
+@@ -42,13 +42,13 @@
+ inoremap <C-U> <C-G>u<C-U>
  
- endif " has("autocmd")
+ " In many terminal emulators the mouse works just fine, thus enable it.
+-if has('mouse')
+-  set mouse=a
+-endif
++"if has('mouse')
++"  set mouse=a
++"endif
+ " Switch syntax highlighting on, when the terminal has colors
+ " Also switch on highlighting the last used search pattern.
+-if &t_Co > 2 || has("gui_running")
++if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
+   syntax on
+   set hlsearch
+ endif
+@@ -93,4 +93,7 @@
+-if !exists(":DiffOrig")
++if v:progname =~! "vi" && !exists(":DiffOrig")
+   command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
+                 \ | wincmd p | diffthis
+ endif
 +
-+" ADDED BY PLD.
-+" USE :help colorscheme FOR INFO
++" Use :help colorscheme for info
 +"set background=dark
-+
This page took 0.059491 seconds and 4 git commands to generate.