chore: delegate all plugin loading to home-manager
This commit is contained in:
parent
e2e642166a
commit
ed45b8971f
56
init.lua
56
init.lua
|
@ -1,60 +1,4 @@
|
|||
vim.g.mapleader = " " -- Set map leader
|
||||
|
||||
-- Bootstrap package manager (lazy.nvim)
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
-- Setup the package manager with plugins and configuration options
|
||||
require("lazy").setup({
|
||||
-- Default theme
|
||||
"devraza/kagayaki.nvim",
|
||||
|
||||
"folke/which-key.nvim",
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
},
|
||||
"neovim/nvim-lspconfig",
|
||||
"romgrk/barbar.nvim",
|
||||
"nvim-lualine/lualine.nvim",
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"sindrets/diffview.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
},
|
||||
config = true
|
||||
},
|
||||
{"ellisonleao/glow.nvim", config = true, cmd = "Glow"},
|
||||
{
|
||||
"max397574/better-escape.nvim",
|
||||
config = function()
|
||||
require("better_escape").setup()
|
||||
end,
|
||||
},
|
||||
"rktjmp/lush.nvim",
|
||||
{
|
||||
'goolord/alpha-nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
};
|
||||
{
|
||||
"nvim-neorg/neorg",
|
||||
build = ":Neorg sync-parsers",
|
||||
branch = "main",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
},
|
||||
})
|
||||
|
||||
-- Imports from files
|
||||
require 'core'
|
||||
|
|
Loading…
Reference in a new issue