Skip to content
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

Installing vim 8 loses janus #670

Open
pbdeuchler opened this issue Oct 4, 2016 · 5 comments
Open

Installing vim 8 loses janus #670

pbdeuchler opened this issue Oct 4, 2016 · 5 comments
Assignees
Labels

Comments

@pbdeuchler
Copy link

Note: I'm pretty new at vim so there's a good chance this is user error.

I just installed vim 8 via homebrew and made the homebrew binary my default executable. However using that binary seems to bypass all of janus and thus my user customizations. Explicitly loading the new binary with my vimrc file gives me cascading errors:

 → /usr/local/bin/vim -u ~/.vimrc
Error detected while processing function janus#load_pathogen[7]..janus#load_custom_before:
line    2:
E117: Unknown function: pathogen#split
E15: Invalid expression: pathogen#split(&rtp)
line    3:
E117: Unknown function: pathogen#glob_directories
E116: Invalid arguments for function filter(pathogen#glob_directories(a:path), '!pathogen#is_disabled(v:val)')
E15: Invalid expression: filter(pathogen#glob_directories(a:path), '!pathogen#is_disabled(v:val)')
line    4:
E121: Undefined variable: custom
E116: Invalid arguments for function pathogen#uniq(custom + rtp))
E116: Invalid arguments for function pathogen#join(pathogen#uniq(custom + rtp))
E15: Invalid expression: pathogen#join(pathogen#uniq(custom + rtp))
Error detected while processing function janus#load_pathogen:
line   10:
E117: Unknown function: pathogen#infect
E117: Unknown function: pathogen#infect
E117: Unknown function: pathogen#infect
Error detected while processing function janus#load_pathogen[14]..janus#load_custom_before:
line    2:
E117: Unknown function: pathogen#split
E15: Invalid expression: pathogen#split(&rtp)
line    3:
E117: Unknown function: pathogen#glob_directories
E116: Invalid arguments for function filter(pathogen#glob_directories(a:path), '!pathogen#is_disabled(v:val)')
E15: Invalid expression: filter(pathogen#glob_directories(a:path), '!pathogen#is_disabled(v:val)')
line    4:
E121: Undefined variable: custom
E116: Invalid arguments for function pathogen#uniq(custom + rtp))
E116: Invalid arguments for function pathogen#join(pathogen#uniq(custom + rtp))
E15: Invalid expression: pathogen#join(pathogen#uniq(custom + rtp))
Error detected while processing function janus#load_pathogen[17]..janus#load_custom_after:
line    2:
E117: Unknown function: pathogen#split
E15: Invalid expression: pathogen#split(&rtp)
line    4:
E117: Unknown function: pathogen#glob_directories
E116: Invalid arguments for function filter(pathogen#glob_directories(custom_path), '!pathogen#is_disabled(v:val[0:-7])')
E15: Invalid expression: filter(pathogen#glob_directories(custom_path), '!pathogen#is_disabled(v:val[0:-7])')
line    5:
E121: Undefined variable: rtp
E116: Invalid arguments for function pathogen#uniq(rtp + custom_after))
E116: Invalid arguments for function pathogen#join(pathogen#uniq(rtp + custom_after))
E15: Invalid expression: pathogen#join(pathogen#uniq(rtp + custom_after))
Error detected while processing function janus#load_pathogen[18]..janus#load_core:
line    5:
E117: Unknown function: pathogen#infect
Error detected while processing function janus#load_pathogen:
line   19:
E117: Unknown function: pathogen#helptags
Press ENTER or type command to continue
@pbdeuchler
Copy link
Author

Looking into this more, it seems like it correctly loads my .vimrc.after file, but fails to load any pathogen plugins (that was probably obvious from the above stacktrace) from my ~/.janus directory.

running vim -V99 seems to also barf pretty hard, i have to kill the vim process to be able to exit

@kalbasit kalbasit self-assigned this Oct 7, 2016
@kalbasit kalbasit added the bug label Oct 7, 2016
@pbdeuchler
Copy link
Author

Just to add to this, installed neovim on a lark and looks like it also fails to load my .vimrc.after as well

@pbdeuchler
Copy link
Author

Argh, okay, confirmed it is loading my .vimrc.after however again, none of my pathogen plugins take effect

@nfedyashev
Copy link

For what it's worth: I upgrade to vim 8 and never had any issues with janus. Same config

@pauc
Copy link

pauc commented Jun 15, 2018

I can confirm, I had the same issue. Downgraded vim to 7.4 and all back to normal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants