vmware-archive / vim-config

This is the Vim configuration we use on pairing machines at Neo, as well as many Neons' personal machines. It's pretty okay.
BSD 2-Clause "Simplified" License
64 stars 41 forks source link

Load custom_config inside NeoBundle's environment #60

Closed bsiegel closed 9 years ago

bsiegel commented 9 years ago

Plugins must be defined within the neobundle#begin and neobundle#end blocks, otherwise the NeoBundle directive won't be understood. Additionally, it doesn't appear that you can define multiple NeoBundle blocks - the last defined NeoBundle block appears to win.

bsiegel commented 9 years ago

This seemed like the simplest approach, but I'd also be open to splitting the custom config stuff up and having a custom_plugins.vim file that gets loaded inside of 01_plugin_config.vim, separate from the contents of the custom_config directory.

sushengloong commented 9 years ago

The author of NeoBundle was kind enough to implement neobundle#append() to solve this problem.

I have created a pull request to update the instruction in README - see https://github.com/neo/vim-config/pull/62

bsiegel commented 9 years ago

Great - looks like that functionality was -just- added to NeoBundle. I'll close this PR.