50 lines
1.8 KiB
Lua
50 lines
1.8 KiB
Lua
-- AstroCommunity: import any community modules here
|
|
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
|
|
-- This guarantees that the specs are processed before any user plugins.
|
|
|
|
local function importPackage(group, packages)
|
|
if type(packages) ~= "table" then packages = { packages } end
|
|
|
|
local imports = {}
|
|
|
|
for _, p in ipairs(packages) do
|
|
imports[#imports + 1] = { import = table.concat { "astrocommunity.", group, ".", p } }
|
|
end
|
|
|
|
return unpack(imports)
|
|
end
|
|
|
|
---@type LazySpec
|
|
return {
|
|
"AstroNvim/astrocommunity",
|
|
{ import = "astrocommunity.pack.lua" },
|
|
-- import/override with your plugins folder
|
|
|
|
-- Colorschemes
|
|
{ import = "astrocommunity.colorscheme.catppuccin" },
|
|
{ import = "astrocommunity.colorscheme.everforest" },
|
|
{ import = "astrocommunity.colorscheme.tokyonight-nvim" },
|
|
{ import = "astrocommunity.colorscheme.nord-nvim" },
|
|
{ import = "astrocommunity.colorscheme.onedarkpro-nvim" },
|
|
{ import = "astrocommunity.colorscheme.rose-pine" },
|
|
{ import = "astrocommunity.colorscheme.gruvbox-nvim" },
|
|
|
|
{
|
|
import = "astrocommunity.motion.flash-nvim",
|
|
-- keys = {
|
|
-- { "z", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
|
-- { "Z", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
|
|
-- },
|
|
},
|
|
{ import = "astrocommunity.motion.nvim-spider" },
|
|
{ import = "astrocommunity.motion.marks-nvim" },
|
|
{ import = "astrocommunity.motion.before-nvim" },
|
|
|
|
{ import = "astrocommunity.file-explorer.oil-nvim" },
|
|
{ import = "astrocommunity.file-explorer.telescope-file-browser-nvim" },
|
|
|
|
{ import = "astrocommunity.markdown-and-latex.markdown-preview-nvim" },
|
|
{ import = "astrocommunity.markdown-and-latex.render-markdown-nvim" },
|
|
|
|
{ import = "astrocommunity.note-taking.neorg" },
|
|
}
|