spacevim c and format, fix unset_proxy
This commit is contained in:
parent
dc9be12ab5
commit
822ebc9107
@ -76,3 +76,9 @@ name = "lang#markdown"
|
|||||||
|
|
||||||
[[layers]]
|
[[layers]]
|
||||||
name = "lang#go"
|
name = "lang#go"
|
||||||
|
|
||||||
|
[[layers]]
|
||||||
|
name = "lang#c"
|
||||||
|
|
||||||
|
[[layers]]
|
||||||
|
name = "format"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user