aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/texlab/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-registry/index/texlab/init.lua')
-rw-r--r--lua/mason-registry/index/texlab/init.lua43
1 files changed, 0 insertions, 43 deletions
diff --git a/lua/mason-registry/index/texlab/init.lua b/lua/mason-registry/index/texlab/init.lua
deleted file mode 100644
index df2b2b54..00000000
--- a/lua/mason-registry/index/texlab/init.lua
+++ /dev/null
@@ -1,43 +0,0 @@
-local Pkg = require "mason-core.package"
-local _ = require "mason-core.functional"
-local github = require "mason-core.managers.github"
-local platform = require "mason-core.platform"
-
-local coalesce, when = _.coalesce, _.when
-
-return Pkg.new {
- name = "texlab",
- desc = [[An implementation of the Language Server Protocol for LaTeX]],
- homepage = "https://github.com/latex-lsp/texlab",
- categories = { Pkg.Cat.LSP },
- languages = { Pkg.Lang.LaTeX },
- ---@async
- ---@param ctx InstallContext
- install = function(ctx)
- local repo = "latex-lsp/texlab"
- platform.when {
- unix = function()
- github
- .untargz_release_file({
- repo = repo,
- asset_file = coalesce(
- when(platform.is.mac_arm64, "texlab-aarch64-macos.tar.gz"),
- when(platform.is.mac_x64, "texlab-x86_64-macos.tar.gz"),
- when(platform.is.linux_x64, "texlab-x86_64-linux.tar.gz")
- ),
- })
- .with_receipt()
- ctx:link_bin("texlab", "texlab")
- end,
- win = function()
- github
- .unzip_release_file({
- repo = repo,
- asset_file = coalesce(when(platform.arch == "x64", "texlab-x86_64-windows.zip")),
- })
- .with_receipt()
- ctx:link_bin("texlab", "texlab.exe")
- end,
- }
- end,
-}