[SCM] vim-addon-manager packaging branch, master, updated. v0.4.4-57-gc3d8a72

Antonio Terceiro terceiro at debian.org
Wed Feb 1 01:12:24 UTC 2012


The following commit has been merged in the master branch:
commit a767e1fb8c1a59d8810dfe78617527c6053df4e5
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jan 31 21:59:24 2012 -0200

    Pending: get vim to load /etc/vim/vimrc.d/*.vim

diff --git a/TODO b/TODO
index 4633207..654415e 100644
--- a/TODO
+++ b/TODO
@@ -1,13 +1,13 @@
 Short term
 ==========
 
-- implement a way of modifying the runtimepath to include the directories under
-  ~/.vim/bundle. Maybe bundling vim-pathogen together with this package.
+- Get vim to load vimrc files provided by packages:
 
-  For now, I am testing this with the following two lines in the top of my ~/.vimrc:
-
-  runtime bundle/vim-pathogen/autoload/pathogen.vim
-  call pathogen#infect()
+  " Support .d-style configuration directory. All files under /etc/vim/vimrc.d/
+  " will be sourced.
+  for rcfile in split(glob('/etc/vim/vimrc.d/*.vim'))
+    execute 'source ' . rcfile
+  endfor
 
 - make sure the doc/ directory of new-style addons is indexed when the addons
   are installed.

-- 
vim-addon-manager packaging



More information about the pkg-vim-maintainers mailing list