]> git.pld-linux.org Git - packages/vim.git/commitdiff
- load /etc/vim/vimrc.local at the end of vimrc if present
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Jan 2011 20:58:28 +0000 (20:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-vimrc.patch -> 1.12

vim-vimrc.patch

index c9068bec9b1706ced8bb49a2b550010e131bb910..0be4715dec3eca5b265ed1449130f3936bda1d1f 100644 (file)
@@ -28,7 +28,7 @@
    syntax on
    set hlsearch
  endif
-@@ -90,7 +93,10 @@
+@@ -90,7 +93,15 @@
  " Convenient command to see the difference between the current buffer and the
  " file it was loaded from, thus the changes you made.
  " Only define it when not defined already.
@@ -40,3 +40,8 @@
 +
 +" Use :help colorscheme for info
 +"set background=dark
++
++" Source a global configuration file if available
++if filereadable("/etc/vim/vimrc.local")
++  source /etc/vim/vimrc.local
++endif
This page took 0.615842 seconds and 4 git commands to generate.