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

autoloadize minimality #12

Closed
Konfekt opened this issue Nov 25, 2014 · 3 comments
Closed

autoloadize minimality #12

Konfekt opened this issue Nov 25, 2014 · 3 comments

Comments

@Konfekt
Copy link

Konfekt commented Nov 25, 2014

Dear Daan,

How about exporting the global functions into the .vim/autoload (instead of .vim/plugin) folder ? (Suits the minimalism spirit of your plugin.)

@dbakker
Copy link
Owner

dbakker commented Nov 25, 2014

That's a good idea Konfekt.

None if the functions are required on startup, so it makes sense to defer loading them.

I'm thinking the translation could be like this:

Old New
ProjectRootGet projectroot#get
ProjectRootCD projectroot#cd
ProjectBuffers projectroot#buffers
... ...

We should keep the old function names as alternatives for the foreseeable future though.

@Konfekt
Copy link
Author

Konfekt commented Nov 25, 2014

Yep, that's about the idea I had, including the naming. Of course backward comptability has to be guaranteed.

@Konfekt
Copy link
Author

Konfekt commented Nov 26, 2014

Perfeito.

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