Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

fix proxy resolution #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix proxy resolution #171

wants to merge 1 commit into from

Conversation

kentac55
Copy link

@kentac55 kentac55 commented Apr 14, 2020

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 kentac55 changed the title fix proxy resolution [WIP]fix proxy resolution Apr 16, 2020
@kentac55 kentac55 changed the title [WIP]fix proxy resolution fix proxy resolution Apr 16, 2020
@g-i-o-r-g-i-o
Copy link

not working with vim 8.2 and proxy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't install LS behind http proxy
2 participants