1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

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
This commit is contained in:
jdhao 2020-10-09 15:05:26 +08:00 committed by GitHub
parent 53d335c5f0
commit a5eea11a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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