aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/elixir-ls/init.lua
blob: a5d0a8d44d07c009a687cb9cb89eb22416f189d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local Pkg = require "mason-core.package"
local github = require "mason-core.managers.github"

return Pkg.new {
    name = "elixir-ls",
    desc = [[A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"]],
    homepage = "https://github.com/elixir-lsp/elixir-ls",
    languages = { Pkg.Lang.Elixir },
    categories = { Pkg.Cat.LSP, Pkg.Cat.DAP },
    ---@async
    install = function()
        github
            .unzip_release_file({
                repo = "elixir-lsp/elixir-ls",
                asset_file = "elixir-ls.zip",
            })
            .with_receipt()
    end,
}