LSP finally working a decent amount

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-06-30 17:53:02 -05:00
parent 518951ec2f
commit 9c884fb841
15 changed files with 489 additions and 112 deletions

View file

@ -34,17 +34,5 @@ function M.spread(template)
end
end
function M.ensure_installed_mason(items)
local registry = require 'mason-registry'
for _, item in ipairs(items) do
if not registry.is_installed(item) then
if registry.has_package(item) then
registry.get_package(item).install()
end
end
end
registry.refresh()
end
return M