szw/vim-dict — pull request #1 by inkarkat (2012-08-20 08:40:27+00:00)
Title: Make curl command and variables configurable.

Thanks for this really helpful plugin! At work, I'm behind a proxy / firewall, so I need to pass additional options to curl. This patch allows to do this without directly modifying the script. Keep up the good work!

-- regards, ingo

Introduce `g:dict_curl_command` and `g:dict_curl`_options to allow for customization. For example, without direct access to the Internet, I need to add `--socks5 socks-server` (because curl doesn't pick up the `http_proxy` environment variable when using the dict protocol).
Some users may not have the curl command on their PATH, so having that configurable is helpful, too. Note that I didn't use `shellescape()` on it, because that function isn't available in Vim 7.0/1, the default doesn't require it, and users customizing it can add that themselves.