File tree 1 file changed +3
-2
lines changed
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 {
49
49
pylsEnvironment [ "VIRTUAL_ENV" ] = venvPath
50
50
}
51
51
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 ] , {
53
54
cwd : projectPath ,
54
55
env : pylsEnvironment ,
55
56
} )
@@ -84,7 +85,7 @@ class PythonLanguageClient extends AutoLanguageClient {
84
85
description :
85
86
"Make sure to install `pyls` 0.19 or newer by running:\n" +
86
87
"```\n" +
87
- `${ python } -m pip install 'python-language -server[all]'\n` +
88
+ `${ python } -m pip install 'python-lsp -server[all]'\n` +
88
89
`${ python } -m pip install git+https://github.com/tomv564/pyls-mypy.git\n` +
89
90
"```" ,
90
91
} )
You can’t perform that action at this time.
0 commit comments