danchoi / ri.vim

browse ri documentation from Vim
http://github.com/danchoi/ri.vim
MIT License
114 stars 15 forks source link

Configurable cache directory #31

Open promisedlandt opened 5 years ago

promisedlandt commented 5 years ago

Hello,

currently the cache directory is hardcoded to be the ri_vim_cache subdirectory of the plugin path. Would it be possible to make this configurable, so I could set it to something like /tmp/ri_vim_cache instead?

wikimatze commented 5 years ago

Sure, have you already tried it?

promisedlandt commented 5 years ago

Yes, I have created a branch here for my personal use, but I figured someone who knows what they're doing in vimscript can do better :)

wikimatze commented 5 years ago

@promisedlandt looks good I'll try it out with neovim.