spacevim c and format, fix unset_proxy

This commit is contained in:
hophacker 2020-04-06 09:57:25 +08:00
parent dc9be12ab5
commit 822ebc9107
2 changed files with 8 additions and 0 deletions

View File

@ -76,3 +76,9 @@ name = "lang#markdown"
[[layers]] [[layers]]
name = "lang#go" name = "lang#go"
[[layers]]
name = "lang#c"
[[layers]]
name = "format"

View File

@ -51,6 +51,8 @@ function set_ss_proxy() {
} }
function unset_proxy() { function unset_proxy() {
unset all_proxy unset all_proxy
unset http_proxy
unset https_proxy
} }
function post { function post {
curl -H "Content-Type: application/json" -X POST -d $1 $2 curl -H "Content-Type: application/json" -X POST -d $1 $2