Comments (3)
If it were me, I'd kill the runtime!
invocation (Vim does that automatically) and move the post-config chunk to .vim/after/plugin/csapprox.vim
(or whatever the corresponding filename is). Don't think too much about the after
in the path; it will load regardless of whether the original plugin loaded.
I don't think there's much that can be done about the pre-config chunk. I just have a section in my vimrc for plugin settings.
from vim-pathogen.
Thanks! I was able to pare it down a little.
Can this be simpler?
" keep plugins nicely bundled in separate folders.
" http://www.vim.org/scripts/script.php?script_id=2332
runtime autoload/pathogen.vim
if exists('g:loaded_pathogen')
call pathogen#infect() "load the bundles, if possible
Helptags "plus any bundled help
runtime! bundle_config.vim "give me a chance to configure the plugins
endif
https://github.com/bukzor/buck_dotfiles/commit/1c19e90c0b7d10b3c6da9412bf052b384b714ba8
from vim-pathogen.
I just do silent! call pathogen#infect()
. But that takes away the ability to conditionally load bundle_config.vim
, if you care about that sort of thing.
from vim-pathogen.
Related Issues (20)
- Plugin takes 3-6 seconds to load via pathogen HOT 4
- Can pathogen load plugins in the bundle directive before loading the scripts in vim root directive? HOT 2
- Pathogen broken by new release of Vim HOT 3
- E107: 缺少对应的括号: pathogen#infect()
- Cannot use `-` on staged or untracked files in `:Gstatus` HOT 4
- execute pathogen#infect() an invalid expression? HOT 2
- Install plugins function HOT 1
- curl error(23) HOT 2
- `:Helptags` does not work if script is never run HOT 4
- Disable plugin without deleting it's repo HOT 4
- error when opening pathogen.vim HOT 1
- License file HOT 2
- Installed plugin with pathogen, but cannot start HOT 2
- Please document how to work around vim bug using the vim package format (Not directly related to pathogen) HOT 1
- curl: (23) Failed writing body
- whitespace required errors HOT 3
- pathogen and crystal-lang HOT 1
- ALE runs, linter runs and emits warning, but ALE shows nothing HOT 2
- "Press ENTER or type command to continue" each time I launch Vim after Pathogen Install.
- How to tell pathogen to ignore specific file in bundle? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-pathogen.