File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ class PythonLanguageClient extends AutoLanguageClient {
4949 pylsEnvironment [ "VIRTUAL_ENV" ] = venvPath
5050 }
5151 const python = replacePipEnvPathVar ( atom . config . get ( "ide-python.python" ) , venvPath )
52- const childProcess = super . spawn ( python , [ "-m" , "pyls" ] , {
52+ const pyls = atom . config . get ( "ide-python.pyls" ) || "pyls"
53+ const childProcess = super . spawn ( python , [ "-m" , pyls ] , {
5354 cwd : projectPath ,
5455 env : pylsEnvironment ,
5556 } )
@@ -84,7 +85,7 @@ class PythonLanguageClient extends AutoLanguageClient {
8485 description :
8586 "Make sure to install `pyls` 0.19 or newer by running:\n" +
8687 "```\n" +
87- `${ python } -m pip install 'python-language -server[all]'\n` +
88+ `${ python } -m pip install 'python-lsp -server[all]'\n` +
8889 `${ python } -m pip install git+https://github.com/tomv564/pyls-mypy.git\n` +
8990 "```" ,
9091 } )
You can’t perform that action at this time.
0 commit comments