mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2026-05-30 11:18:40 +02:00
38c3b8dfe2
Replaces releases/latest/download/... with releases/download/$version/...
for 19 installers (38 files) so each script has an extractable version=
or set VERSION= line that update-installer-versions.sh can rewrite.
Drive-by fixes folded in:
- install-markdown-oxide.cmd pointed at atusy/markdown-oxide (404). Repointed
to Feel-ix-343/markdown-oxide upstream which does publish a Windows binary.
- install-systemd-lsp.{sh,cmd} had v2025.07.10 hardcoded mid-URL; pinned to
current latest v2026.04.21.
- install-typos-lsp.{sh,cmd} dropped the curl-redirect-to-learn-the-version
dance in favor of a pinned tag.
- install-omnisharp-lsp.{sh,cmd}: the script's local 'version' (dotnet --version
output) was renamed to 'dotnet_version' so the pinned release version can
coexist without shadowing.
biome and oxlint are left unchanged: biome's tag (@biomejs/biome@X.Y.Z) needs
URL encoding, and oxc-project/oxc publishes parallel apps_v*/crates_v* streams
where releases/latest is ambiguous. Both would need ad-hoc handling.
8 lines
293 B
Batchfile
8 lines
293 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
set VERSION=v0.25.10
|
|
curl -L -o "markdown-oxide-windows.zip" "https://github.com/Feel-ix-343/markdown-oxide/releases/download/%VERSION%/markdown-oxide-%VERSION%-x86_64-pc-windows-gnu.zip"
|
|
call "%~dp0\run_unzip.cmd" markdown-oxide-windows.zip
|
|
del markdown-oxide-windows.zip
|