Update lazy_load.lua

just load bufferline once. let `nvim somedir/*lua` working
This commit is contained in:
tomaswyz 2022-06-16 15:11:12 +08:00 committed by siduck
parent c0d75edea0
commit 977864e24d

View File

@ -25,7 +25,7 @@ local M = {}
M.bufferline = function() M.bufferline = function()
lazy_load { lazy_load {
events = { "BufNewFile", "BufAdd", "TabEnter" }, events = { "BufNewFile", "BufRead", "TabEnter" },
augroup_name = "BufferLineLazy", augroup_name = "BufferLineLazy",
plugins = "bufferline.nvim", plugins = "bufferline.nvim",