Skip to content

A community repository of common plugin specifications

License

Notifications You must be signed in to change notification settings

shivanthzen/astrocommunity

 
 

Repository files navigation

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:

  • To disable imports, set the enabled option to false. You have two approaches to modify an existing plugin: use the full repository name (e.g., "m4xshen/smartcolumn.nvim") or the module name (e.g., "catppuccin"). Remember, the module name might differ from the folder name.
  • It's recommended to use the full import path when customizing a plugin, and not the shorthand notation of just the repository name.

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!

About

A community repository of common plugin specifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%