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