summarylogtreecommitdiffstats
path: root/pylance-language-server.install
AgeCommit message (Collapse)Author
2020-10-09[Break Change]: remove the shell scriptSainnhepark
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",
2020-08-23update to 2020.8.2Sainnhepark
2020-08-08add post_remove()Sainnhepark
2020-07-26initSainnhepark