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

Allow changing the path to the language server binary

Open irth opened this issue 3 years ago • 0 comments

Some users might want to use a different Python language server binary than the one automatically downloaded by the extension. For example, on some distributions of Linux, the official binaries do not work, and a patched version is needed. It can be installed from the repositories, and this patch allows the user to force coc-python to use it.

This is accomplished by adding a setting python.languageServerPath, which, if non-empty, is used as the language server binary path instead of the one downloaded by the extension.

So, for example you can set it to /usr/bin/python-language-server, or anything else.

irth avatar Aug 24 '20 02:08 irth