Skip to content

Commit d03563a

Browse files
committed
Merge pull request #36 from Kludgy/master
Introduce source ~/.vim.local/bundles.vim
2 parents ff74e52 + ce30f98 commit d03563a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.vimrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ Bundle 'eagletmt/ghcmod-vim'
8181
Bundle 'eagletmt/neco-ghc'
8282
Bundle 'Twinside/vim-hoogle'
8383

84+
" Custom bundles
85+
if filereadable(expand("~/.vim.local/bundles.vim"))
86+
source ~/.vim.local/bundles.vim
87+
endif
88+
8489
" }}}
8590

8691
" VIM user interface {{{

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,14 @@ then add `unmap <c-l>` to your .vimrc.local)
291291
## Customizing
292292

293293
After installing this configuration, your `.vimrc` and `.vim` will
294-
be under version control. Don't alter them, add your own settings to
295-
`~/.vimrc.local` instead and your additions will be loaded.
294+
be under version control. Don't alter these files. Instead, add your
295+
own settings to `~/.vimrc.local` and `~/.vim.local/bundles.vim`.
296+
297+
## Adding Custom Bundles
298+
299+
Vundle requires all Bundle statements to be given at once. To accommodate
300+
this restriction, `.vimrc` sources `~/.vim.local/bundles.vim` immediately
301+
after its own Bundle statements.
302+
303+
Bundle statements made elsewhere are not recognized.
304+

0 commit comments

Comments
 (0)