Commit 9cdaeff
fix(cli): allow specifying which LSP server to wait for in debug wait
Fixes bounty issue #1395
The --lsp-ready flag was hardcoded to only check for rust-analyzer.
Added --lsp-server argument to allow specifying which LSP to wait for
(e.g., typescript-language-server, pyright, gopls). Defaults to
rust-analyzer for backward compatibility.1 parent 5579873 commit 9cdaeff
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
1309 | | - | |
| 1309 | + | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | 1312 | | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
1313 | 1317 | | |
1314 | 1318 | | |
1315 | 1319 | | |
| |||
1347 | 1351 | | |
1348 | 1352 | | |
1349 | 1353 | | |
1350 | | - | |
1351 | | - | |
| 1354 | + | |
| 1355 | + | |
1352 | 1356 | | |
1353 | 1357 | | |
1354 | 1358 | | |
1355 | 1359 | | |
1356 | | - | |
| 1360 | + | |
1357 | 1361 | | |
1358 | 1362 | | |
1359 | 1363 | | |
| |||
1362 | 1366 | | |
1363 | 1367 | | |
1364 | 1368 | | |
1365 | | - | |
| 1369 | + | |
1366 | 1370 | | |
1367 | 1371 | | |
1368 | 1372 | | |
| |||
0 commit comments