|
The earlier version uses a shell script to start the language server,
but this will create a new process which makes your process tree looks
somewhat dirty.
This commit removes the shell script, using `server.bundle.js` to start
the language server instead.
After this update, you'll need to modify your configuration of this
language server.
Take coc.nvim for example, you'll need to add a new field `"args"` in
your `coc-settings.json`:
diff --git a/pylance-language-server.install b/pylance-language-server.install
index b1a7fbc..d0199eb 100644
--- a/pylance-language-server.install
+++ b/pylance-language-server.install
@@ -10,6 +10,7 @@ post_install() {
"enable": true,
"filetypes": ["python"],
"command": "pylance-language-server",
+ "args": ["--stdio"],
"initializationOptions": {},
"settings": {
"python.analysis.typeCheckingMode": "basic",
|