refactor: move `community` to a separate file
parent
cb61bab710
commit
95082bdcfd
6
init.lua
6
init.lua
|
@ -26,11 +26,7 @@ lazy.setup({
|
||||||
pin_plugins = nil, -- Default will pin plugins when tracking `version` of AstroNvim, set to true/false to override
|
pin_plugins = nil, -- Default will pin plugins when tracking `version` of AstroNvim, set to true/false to override
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- AstroCommunity: import any community modules here
|
{ import = "community" },
|
||||||
-- TODO: Remove branch v4 on release
|
|
||||||
-- { "AstroNvim/astrocommunity", branch = "v4" },
|
|
||||||
-- { import = "astrocommunity.pack.lua" },
|
|
||||||
-- import/override with your plugins
|
|
||||||
{ import = "plugins" },
|
{ import = "plugins" },
|
||||||
} --[[@as LazySpec]], {
|
} --[[@as LazySpec]], {
|
||||||
install = { colorscheme = { "astrodark", "habamax" } },
|
install = { colorscheme = { "astrodark", "habamax" } },
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||||
|
|
||||||
|
-- AstroCommunity: import any community modules here
|
||||||
|
---@type LazySpec
|
||||||
|
return {
|
||||||
|
-- TODO: Remove branch v4 on release
|
||||||
|
{ "AstroNvim/astrocommunity", branch = "v4" },
|
||||||
|
{ import = "astrocommunity.pack.lua" },
|
||||||
|
-- import/override with your plugins folder
|
||||||
|
}
|
|
@ -1,25 +0,0 @@
|
||||||
---@type LazySpec
|
|
||||||
return {
|
|
||||||
-- Add community imports to the `lua/config/lazy.lua` file in your Neovim configuration folder (typically ~/.config/nvim)
|
|
||||||
-- this guarantees that the community plugin specs are loaded before the user configuration
|
|
||||||
|
|
||||||
-- This is a good place to do further customize the options set by the community plugins/packs
|
|
||||||
-- NOTICE: uncommenting below assumes you have the catppuccin AstroCommunity plugin imported in `lua/config/lazy.lua`
|
|
||||||
-- {
|
|
||||||
-- "catppuccin/nvim",
|
|
||||||
-- opts = {
|
|
||||||
-- integrations = {
|
|
||||||
-- sandwich = false,
|
|
||||||
-- noice = true,
|
|
||||||
-- mini = true,
|
|
||||||
-- leap = true,
|
|
||||||
-- markdown = true,
|
|
||||||
-- neotest = true,
|
|
||||||
-- cmp = true,
|
|
||||||
-- overseer = true,
|
|
||||||
-- lsp_trouble = true,
|
|
||||||
-- rainbow_delimiters = true,
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
}
|
|
Loading…
Reference in New Issue