initial commit
This commit is contained in:
parent
180a864e19
commit
f58d044ada
18 changed files with 747 additions and 1 deletions
50
lua/community.lua
Normal file
50
lua/community.lua
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
-- 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",
|
||||
-- keys = {
|
||||
-- { "<leader>-", mode = { "n" }, require("oil").toggle_float },
|
||||
-- },
|
||||
},
|
||||
{ import = "astrocommunity.file-explorer.telescope-file-browser-nvim" },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue