AstroNvim / astrocommunity

A community repository of common plugin specifications
GNU General Public License v3.0
1.04k stars 212 forks source link

feat(pack): add hyprland config file language support #1063

Closed WilliamBy closed 1 week ago

WilliamBy commented 1 week ago

📑 Description

ℹ Additional Information

github-actions[bot] commented 1 week ago

Review Checklist

Does this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist:

Proper conventional commit scoping:

mehalter commented 1 week ago

~We should hold off until this PR is merged: https://github.com/williamboman/mason-lspconfig.nvim/pull/428~

If we get the changes I requested merged in, I can always just do a follow up PR to simplify this once the mason-lspconfig PR is merged

mehalter commented 1 week ago

Once the PR to mason-lspconfig is merged we should simplify the AstroLSP configuration as well as add:

  {
    "williamboman/mason-lspconfig.nvim",
    optional = true,
    opts = function(_, opts)
      opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "hyprls" })
    end,
  },
mehalter commented 1 week ago

Ok, I just did a follow up revision of this PR to rename this to hyprlang pack just because that is technically the name of the configuration language rather than hyprland

mehalter commented 1 week ago

Thanks for the contribution! This is a great one! :D Love seeing packs getting added that really decrease setup like setting up filetypes and things 😄