Lazy load a couple packages.

This commit is contained in:
CronyAkatsuki 2023-12-24 13:04:55 +01:00
parent 164e828e70
commit 3dbf7b8ed4

View File

@ -17,8 +17,6 @@ require('lazy').setup({
-- Git plugins
'tpope/vim-fugitive',
{
'VonHeikemen/lsp-zero.nvim',
branch = 'v1.x',
@ -50,7 +48,7 @@ require('lazy').setup({
},
-- Emacs which key but in a much nicer form
{ 'folke/which-key.nvim', opts = {} },
{ 'folke/which-key.nvim', opts = {}, event = "VeryLazy" },
{
-- Adds git related signs to the gutter, as well as utilities for managing changes
@ -87,12 +85,12 @@ require('lazy').setup({
"echasnovski/mini.indentscope",
-- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} },
{ 'numToStr/Comment.nvim', opts = {}, event = "VeryLazy" },
-- Fuzzy Finder (files, lsp, etc)
{
'nvim-telescope/telescope.nvim',
branch = '0.1.x',
lazy = true,
dependencies = {
'nvim-lua/plenary.nvim',
},
@ -110,7 +108,7 @@ require('lazy').setup({
opts = {
},
-- Optional dependencies
dependencies = { "nvim-tree/nvim-web-devicons" },
dependencies = { "nvim-tree/nvim-web-devicons", lazy = true },
},
{
@ -118,7 +116,7 @@ require('lazy').setup({
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
requires = { "nvim-lua/plenary.nvim " }
requires = { "nvim-lua/plenary.nvim", lazy = true }
}
},
@ -126,6 +124,7 @@ require('lazy').setup({
{
"stevearc/dressing.nvim",
event = "VeryLazy",
opts = {
input = { default_prompt = "" },
select = { backend = { "telescope", "builtin" } },
@ -148,4 +147,20 @@ require('lazy').setup({
-- markdown editing super powered
'jakewvincent/mkdnflow.nvim',
}, {})
}, {
install = {
colorscheme = { "catppuccin" }
},
performance = {
rtp = {
disabled_plugins = {
"gzip",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
}
}
}
})