keith / investigate.vim

A Vim plugin for looking up documentation
http://keith.github.io/investigate.vim/
MIT License
297 stars 20 forks source link

Feature request: Surpport for looking up in zeal #20

Closed QMonkey closed 8 years ago

QMonkey commented 8 years ago

Zeal is an offline documentation browser inspired by Dash, available for Linux and Windows. Hope for supporting looking up in zeal. Thanks!

keith commented 8 years ago

I'm definitely open to supporting this. I think all that would be required would be duplicating some of the simple logic that exists for dash, and adding a new item to the defaults array for this.

I haven't worked on this plugin too much lately but if someone wanted to submit a PR in this direction I would happily accept it!

keith commented 8 years ago

In the meantime, based on their documentation from here you can use:

let g:investigate_command_for_python = '/usr/bin/zeal --query ^s'

Where you replace python with any language you choose.

QMonkey commented 8 years ago

In my opinion, may be the best way is add some config like 'g:investigate_use_docset', and the investigate.vim will auto choose dash or zeal. However, thank you anyway!

keith commented 8 years ago

I'm totally on board with PRs in this direction if you're still interested in it!