From 6688e75c9286932f88bf8811e85085d40d7f3d16 Mon Sep 17 00:00:00 2001 From: kanishka-sahoo Date: Fri, 8 Nov 2024 09:16:48 +0530 Subject: [PATCH] Changed the lazy loading properties of some plugins --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8f1bc8e1..4c8ca85e 100644 --- a/init.lua +++ b/init.lua @@ -265,6 +265,7 @@ require('lazy').setup({ 'MunifTanjim/nui.nvim', -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, + event = 'UIEnter', config = function() vim.keymap.set('n', 'e', 'Neotree toggle') end, @@ -287,7 +288,7 @@ require('lazy').setup({ { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', - event = 'VimEnter', -- Sets the loading event to 'VimEnter' + event = 'UIEnter', -- Sets the loading event to 'VimEnter' opts = { icons = { -- set icon mappings to true if you have a Nerd Font @@ -348,7 +349,7 @@ require('lazy').setup({ { -- Fuzzy Finder (files, lsp, etc) 'nvim-telescope/telescope.nvim', - event = 'VimEnter', + event = 'UIEnter', branch = '0.1.x', dependencies = { 'nvim-lua/plenary.nvim',