Skip to content

Commit

Permalink
fix(gleam): move to manual gleam setup rather than mason based beacus…
Browse files Browse the repository at this point in the history
…e deprecation
  • Loading branch information
mehalter committed Mar 19, 2024
1 parent c2218d5 commit b6beeed
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions lua/astrocommunity/pack/gleam/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@ return {
end,
},
{
"williamboman/mason-lspconfig.nvim",
"AstroNvim/astrolsp",
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "gleam" })
end,
},
{
"WhoIsSethDaniel/mason-tool-installer.nvim",
optional = true,
opts = function(_, opts)
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "gleam" })
if vim.fn.executable "gleam" == 1 then
opts.servers = require("astrocore").list_insert_unique(opts.servers, { "gleam" })
end
end,
},
}

0 comments on commit b6beeed

Please sign in to comment.