mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 19:30:01 +02:00
20 lines
323 B
Lua
20 lines
323 B
Lua
|
|
local M = {}
|
|
|
|
local basePath = vim.fn.stdpath("data") .. "/mason/bin/"
|
|
|
|
function M.binary(name)
|
|
return basePath .. name
|
|
end
|
|
|
|
function M.ensure_installed(names)
|
|
return {
|
|
"mason-org/mason.nvim",
|
|
optional = true,
|
|
opts = {
|
|
ensure_installed = { names }
|
|
}
|
|
}
|
|
end
|
|
|
|
return M
|