coc-python
coc-python copied to clipboard
fix proxy resolution
fix #160
I don't know how I can check it work correctly, but I confirmed as below:
-
yarn build
-
cp lib/index.js ~/.config/coc/extensions/node_modules/coc-python/lib
-
http_proxy=http://myproxy:8080 https_proxy=http://myproxy:8080 nvim a.py
-
:CocCommand
then choose python.upgradePythonLanguageServer - finished correctly
my coc-settings.json:
{
"diagnostic.displayByAle": true,
"languageserver": {
"go": {
"command": "gopls",
"args": [],
"rootPatterns": ["go.mod", ".git/"],
"filetypes": ["go"]
},
"metals": {
"command": "metals-vim",
"rootPatterns": ["build.sbt"],
"filetypes": ["scala", "sbt"]
}
},
"python.jediEnabled": false,
"python.linting.enabled": false,
"suggest.timeout": 5000
}
not working with vim 8.2 and proxy