AstroNvim / astrocommunity

A community repository of common plugin specifications
GNU General Public License v3.0
1.04k stars 212 forks source link
astronvim astrovim hacktoberfest lazy lazynvim lua neovim neovim-lua-plugin neovim-plugin

AstroNvim Community Repository

AstroNvim's community repository contains plugin configuration specifications β€” a collection of plugins contributed by the community for AstroNvim, a NeoVim configuration. These specifications help manage the variety of plugins used in AstroNvim.

πŸ“¦ Setup

To integrate the community plugins, add the provided configurations to your plugins setup preferably before you import your own plugins to guarantee all AstroCommunity changes are loaded before your own overrides. If you are using the AstroNvim Template This can be done in your lua/community.lua file. If you're unfamiliar with configuring plugins, we recommend referring to the AstroNvim documentation.

Importing AstroCommunity Plugins

Integrate the following content within your lua/community.lua file:

return {
  "AstroNvim/astrocommunity",
  { import = "astrocommunity.colorscheme.catppuccin" },
  -- ... import any community contributed plugins here
}

Customizing AstroCommunity Installations

Once you have AstroCommunity imports defined in your lua/community.lua you can then further customize the installations in your own plugin definitions (typically done in the lua/plugins/ directory). Here is an example assuming you have Catppuccin installed as shown above.

return {
  { -- further customize the options set by the community
    "catppuccin",
    opts = {
      integrations = {
        sandwich = false,
        noice = true,
        mini = true,
        leap = true,
        markdown = true,
        neotest = true,
        cmp = true,
        overseer = true,
        lsp_trouble = true,
        rainbow_delimiters = true,
      },
    },
  },
}

Notes:

Contributing

If you've written a plugin configuration and wish to add it with the AstroCommunity repository, please follow our Contribution Guidelines and submit a pull request. Ensure you've rigorously tested your changes before submission. This isn't an official repository, so its stability relies on community contributions. We're excited to see how this project grows and evolves!