Commit 4cfc017
authored
Fix use tar xz for zig (#5017)
* feat: explicitly support tar.xz files.
* fix(clients): use tar.xz for zls download.
As far as I can tell, the last zls that had a .tar.gz path was v0.11.0 released
in August 2023.
Switch to the correct .tar.xz path. We could just update that path, but we
provide a custom to allow the old path to be used, and we explicitly support
:tarxz as an option for :decompress to be explicit. This isn't strictly
necessary, since the same `tar xz file` command will decompress .tar.gz and
.tar.xz along with .tar.bz2 and .tar.zst, but we download to the correct
intermediate path in order to reduce confusion.1 parent 7a7a858 commit 4cfc017
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8684 | 8684 | | |
8685 | 8685 | | |
8686 | 8686 | | |
| 8687 | + | |
8687 | 8688 | | |
8688 | | - | |
| 8689 | + | |
8689 | 8690 | | |
8690 | 8691 | | |
8691 | 8692 | | |
| |||
8728 | 8729 | | |
8729 | 8730 | | |
8730 | 8731 | | |
8731 | | - | |
| 8732 | + | |
| 8733 | + | |
8732 | 8734 | | |
8733 | 8735 | | |
8734 | 8736 | | |
| |||
0 commit comments