-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vim version dependencies #54
Comments
So what are you proposing? What would you write in your vimrc? |
Something like this? Plug 'Valloric/YouCompleteMe', { 'do': './install.sh', 'if': v:version > 703 } If that's what you're proposing, I'd given thought about providing such syntactic sugar, but decided not to do it, because:
So I concluded it wasn't really worth it especially since I prefer to keep the set of options as small as possible. But I'm still open to suggestions. Let me know if you have different ideas. |
Thanks for the explanation. I think that makes sense, especially your examples, @junegunn. Consider it closed. |
I've looked through the README and recent issues, but I haven't seen a solution for this.
I've got a number of plugins specified in the following manner:
Kind of messy to put it in my list of plugins.
There are already conditions for filetypes and on specific commands. What about on a function return? Say if a specific function returns 0 (equivalent to "false" in vimscript, right?), don't load the function .
The text was updated successfully, but these errors were encountered: