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

maktaba#library#Require doesn't respect names from addon-info.json #115

Open
dbarnett opened this issue Jan 26, 2015 · 0 comments
Open

maktaba#library#Require doesn't respect names from addon-info.json #115

dbarnett opened this issue Jan 26, 2015 · 0 comments
Labels

Comments

@dbarnett
Copy link
Contributor

Maktaba has trouble consistently reading the right plugin names from addon-info.json for some functions like maktaba#library#Require. If you have a library plugin that looks like

somedirname/
somedirname/addon-info.json  <-- contains {"name": "mylib"}
somedirname/autoload/mylib.vim

and you execute

set rtp+=path/to/somedirname
call maktaba#library#Require('mylib')

the Require call will fail saying mylib was not found.

Calling maktaba#plugin#Detect() will fix this, but maktaba ought to be able to detect the right plugin name without it.

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

1 participant