sunaku / vim-dasht

:information_desk_person: (Neo)Vim plugin for dasht integration
https://github.com/sunaku/dasht
133 stars 4 forks source link

Handle related filetypes like javascript.jsx #12

Closed ghost closed 6 years ago

ghost commented 6 years ago

Addresses: https://github.com/sunaku/vim-dasht/issues/11

This change makes it possible for dasht-vim to lookup docsets on filetypes like "javascript.jsx" and to exclude docsets based on filetypes with the new variable g:dasht_filetype_exclude_docsets (filtering is not handled on non-related filetypes). It is thoroughly untested but I would be happy to write a few test cases around this if there is interest in actually merging this in.

See my .vimrc for reference here: https://gist.github.com/kitanata/3df5600f38bbb7f7c80c8e19c779e422

sunaku commented 6 years ago

Thanks for this PR, which showed me where the problem was. 👍

I have re-created this solution with tests in the issue-11 branch.

sunaku commented 6 years ago

Merged in commit eb2c3d0288713c959a6c0d60101e42e60c2915ea.