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 should detect correct plugin name for github-USER-PLUGINNAME/ on rtp #114

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

Comments

@dbarnett
Copy link
Contributor

Similar to #112, maktaba#plugin#Get and related functions like maktaba#library#Require will detect the wrong name for plugin dirs named like github-USER-PLUGINNAME/, which is a convention that VAM uses. For instance,

VAMActivate github:ConradIrwin/vim-bracketed-paste

adds a plugin dir github-ConradIrwin-vim-bracketed-paste/ to vim's runtimepath, and maktaba uses the whole dir name "github-ConradIrwin-vim-bracketed-paste" as the name of the plugin, whereas bracketed-paste is the actual plugin name that should be used.

Most of these plugins don't have an addon-info.json, so adding more heuristics to maktaba#plugin#CanonicalName would be the only way to determine the right plugin name (otherwise the addon-info.json name would take precedence).

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

1 participant