google / vimdoc

Helpfile generation for vim
Apache License 2.0
291 stars 28 forks source link

Detect plugin name correctly #39

Closed dbarnett closed 10 years ago

dbarnett commented 10 years ago

Use plugin name from addon-info.json if available and fall back to directory name. Expand directory name first so vimdoc doesn't try to use "." as a plugin name.

Fixes #12 and #15.

dbarnett commented 10 years ago

We may also want to strip off a "vim-" prefix or ".vim" suffix from the directory name the way we do in maktaba.

Soares commented 10 years ago

LGTM