diff options
| author | William Boman <william@redwill.se> | 2023-04-11 03:12:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 03:12:52 +0200 |
| commit | e5bb23fa9ee2a2047368b05f262de6b2152d7a27 (patch) | |
| tree | 1265e826e89e92a493e37c85385a77fcf6089b2c /lua/mason-registry/index/rescript-lsp/init.lua | |
| parent | feat(registry): pcall require Lua registry packages (#1200) (diff) | |
| download | mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.gz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.bz2 mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.lz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.xz mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.tar.zst mason-e5bb23fa9ee2a2047368b05f262de6b2152d7a27.zip | |
chore: migrate packages (#1203)
Diffstat (limited to 'lua/mason-registry/index/rescript-lsp/init.lua')
| -rw-r--r-- | lua/mason-registry/index/rescript-lsp/init.lua | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lua/mason-registry/index/rescript-lsp/init.lua b/lua/mason-registry/index/rescript-lsp/init.lua deleted file mode 100644 index ec79ab09..00000000 --- a/lua/mason-registry/index/rescript-lsp/init.lua +++ /dev/null @@ -1,36 +0,0 @@ -local Pkg = require "mason-core.package" -local github = require "mason-core.managers.github" -local path = require "mason-core.path" - -return Pkg.new { - name = "rescript-lsp", - desc = [[Language Server for ReScript.]], - homepage = "https://github.com/rescript-lang/rescript-vscode", - languages = { Pkg.Lang.ReScript }, - categories = { Pkg.Cat.LSP }, - ---@async - ---@param ctx InstallContext - install = function(ctx) - github - .unzip_release_file({ - repo = "rescript-lang/rescript-vscode", - asset_file = function(version) - return ("rescript-vscode-%s.vsix"):format(version) - end, - }) - .with_receipt() - - ctx:link_bin( - "rescript-lsp", - ctx:write_node_exec_wrapper( - "rescript-lsp", - path.concat { - "extension", - "server", - "out", - "server.js", - } - ) - ) - end, -} |
