From a5eea11a5721b7abf4fa9b6ee2d074981bf236c3 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 9 Oct 2020 15:05:26 +0800 Subject: change netrw's http command It seems the default command used by netrw for download files (with curl) will error out on Windows for https://www.unicode.org. I have no idea why. Need to work around this issue. See also https://github.com/chrisbra/unicode.vim/issues/51 --- variables.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/variables.vim b/variables.vim index a6cc56d..9625609 100644 --- a/variables.vim +++ b/variables.vim @@ -34,6 +34,9 @@ let mapleader = ',' " let g:loaded_netrw = 0 " let g:loaded_netrwPlugin = 0 let g:netrw_liststyle = 3 +if g:is_win + let g:netrw_http_cmd = 'curl --ssl-no-revoke -Lo' +endif " Do not load tohtml.vim let g:loaded_2html_plugin = 1 -- cgit v1.2.3