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:
parent
53d335c5f0
commit
a5eea11a57
@ -34,6 +34,9 @@ let mapleader = ','
|
|||||||
" let g:loaded_netrw = 0
|
" let g:loaded_netrw = 0
|
||||||
" let g:loaded_netrwPlugin = 0
|
" let g:loaded_netrwPlugin = 0
|
||||||
let g:netrw_liststyle = 3
|
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
|
" Do not load tohtml.vim
|
||||||
let g:loaded_2html_plugin = 1
|
let g:loaded_2html_plugin = 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user