diff --git a/lua/astrocommunity/pack/hyprlang/init.lua b/lua/astrocommunity/pack/hyprlang/init.lua index b7bde7005..68eac53b2 100644 --- a/lua/astrocommunity/pack/hyprlang/init.lua +++ b/lua/astrocommunity/pack/hyprlang/init.lua @@ -1,6 +1,13 @@ ---@type LazySpec return { -- mason ensure install hyprls + { + "williamboman/mason-lspconfig.nvim", + optional = true, + opts = function(_, opts) + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "hyprls" }) + end, + }, { "WhoIsSethDaniel/mason-tool-installer.nvim", optional = true, @@ -8,7 +15,6 @@ return { opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "hyprls" }) end, }, - { "AstroNvim/astrocore", optional = true, @@ -26,13 +32,6 @@ return { }, }, }, - { - "AstroNvim/astrolsp", - opts = function(_, opts) - local astrocore = require "astrocore" - opts.servers = astrocore.list_insert_unique(opts.servers, { "hyprls" }) - end, - }, -- treesitter support for hyprlang { "nvim-treesitter/nvim-treesitter",