maktaba#plugin#Install('nonexistent/path/') should throw an error
Open
bug
- Dominant language
- Vim Script
- Stars
- 588
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Calling `maktaba#plugin#Install('nonexistent/path/')` to install nonexistent plugin paths actually succeeds, registering and returning a plugin object:
```
:echo maktaba#plugin#Install('nonexistent/path/')
{'HasDir': function('maktaba#plugin#HasDir'), 'flags': {}, …}
:echo maktaba#plugin#IsRegistered('path')
1
```
Seems like it should throw `NotFound` or something.
Contributor guide
Assessment
This issue has not been assessed yet.