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

Add :MirrorConfigReload command #7

Closed
jakubgs opened this issue May 13, 2016 · 2 comments
Closed

Add :MirrorConfigReload command #7

jakubgs opened this issue May 13, 2016 · 2 comments

Comments

@jakubgs
Copy link

jakubgs commented May 13, 2016

Hello! It's me again to bother you.

I've written myself a small function that runs when I open project files that checks whether the project is already in the mirrors.yml file with readfile() and match() and if not it appends a rudimentary config for that particular project using writefile().

The issue is, your plugin does not recognize the fact that a new project has been added to my mirrors.yml and i have to restart vim in order for this to take effect.

Don't know how hard adding a :MirrorConfigReload command would be to implement but I think it's an essential feature.

YO!

@zenbro
Copy link
Owner

zenbro commented May 13, 2016

Done! 😃

@zenbro zenbro closed this as completed May 13, 2016
@jakubgs
Copy link
Author

jakubgs commented May 13, 2016

Holy shit man! THANKS a bunch!

I see the change wasn't that hard. That just shows that your design is good :D.

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

No branches or pull requests

2 participants