coc-python icon indicating copy to clipboard operation
coc-python copied to clipboard

fix proxy resolution

Open kentac55 opened this issue 4 years ago • 1 comments

fix #160

I don't know how I can check it work correctly, but I confirmed as below:

  1. yarn build
  2. cp lib/index.js ~/.config/coc/extensions/node_modules/coc-python/lib
  3. http_proxy=http://myproxy:8080 https_proxy=http://myproxy:8080 nvim a.py
  4. :CocCommand then choose python.upgradePythonLanguageServer
  5. 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
}

kentac55 avatar Apr 14 '20 18:04 kentac55

not working with vim 8.2 and proxy

g-i-o-r-g-i-o avatar Aug 31 '20 10:08 g-i-o-r-g-i-o