Skip to content

AstroCommunity

AstroCommunity是一个社区驱动的存储库,可以看作是一个插件市场,用于配置 AstroNvim 没有内置的插件,他们的配置文件由社区提供。

Tips

可以在AstroCommunity Repository 中根据类别查看可用的插件

安装

在安装模版中它在lua/community.lua中被引入,因此配置也在这里进行。它的配置完全遵循lazy规范:

Lua
return {
  -- Add the community repository of plugin specifications
  "AstroNvim/astrocommunity",
  -- example of importing a plugin
  -- available plugins can be found at https://github.com/AstroNvim/astrocommunity
  -- AstroCommunity Repository 中对应插件路径
  { import = "astrocommunity.colorscheme.catppuccin" },
  { import = "astrocommunity.completion.copilot-lua" },
  -- example of importing an entire language pack
  -- these packs can set up things such as Treesitter, Language Servers, additional language specific plugins, and more!
  { import = "astrocommunity.pack.rust" },
  { import = "astrocommunity.pack.python" },
}