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

More user-friendly message on "vitalizer: vital directory must be a git work directory." #574

Open
lambdalisue opened this issue Feb 4, 2018 · 3 comments
Assignees

Comments

@lambdalisue
Copy link
Member

Today I found that in my environment the :Vitalize . command shows

vitalizer: vital directory must be a git work directory.

and I could not understand the reason at first. So it should be warned with the value of g:vitalizer#vital_dir and more user-friendly message.


It's beyond this issue but in my case, the vital.vim has installed with Shougo/dein.vim without merged: 0 so dein.vim merge the vital.vim into a single directory and .git the directory has gone. After I add merged: 0 and call dein#recache_runtimepath(), the issue has solved. In case someone has same issue and could not find the reason 👍

@ghost
Copy link

ghost commented Dec 16, 2019

I encountered same problem in same situation and I fixed with writing merged = 0 for dein.vim. The error message is confusing because I thought "I'm supplying a git working directory by :Vitalize command argument."

@ujihisa
Copy link
Member

ujihisa commented Dec 16, 2019

👍

@ujihisa
Copy link
Member

ujihisa commented Dec 16, 2019

(first appearance d255041)

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

No branches or pull requests

3 participants