From 4044951f0c85d1f9df27ce14cb147db414f3c130 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Jun 2024 01:45:39 +0530 Subject: [PATCH] load bufferline when entering a buffer --- lua/plugins/bufferline.lua | 2 +- lua/plugins/gitsigns.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua index 07afa3b..db74571 100644 --- a/lua/plugins/bufferline.lua +++ b/lua/plugins/bufferline.lua @@ -2,7 +2,7 @@ local Plugin = { "akinsho/bufferline.nvim" } Plugin.version = "*" Plugin.dependencies = "nvim-tree/nvim-web-devicons" -Plugin.event = "VeryLazy" +Plugin.event = "BufEnter" function Plugin.init() vim.opt.termguicolors = true diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua index 77030a7..55c9623 100644 --- a/lua/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua @@ -1,6 +1,6 @@ local Plugin = { "lewis6991/gitsigns.nvim" } -Plugin.event = { "BufReadPre", "BufNewFile" } +Plugin.event = { "BufReadPost", "BufNewFile" } -- See :help gitsigns-usage Plugin.opts = {