mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: bufferline does not refresh after close buffer
This commit is contained in:
parent
c8b7912eb9
commit
8615163bbb
1 changed files with 6 additions and 6 deletions
|
|
@ -95,7 +95,7 @@ return {
|
|||
config = function(_, opts)
|
||||
require("bufferline").setup(opts)
|
||||
-- Fix bufferline when restoring a session
|
||||
vim.api.nvim_create_autocmd("BufAdd", {
|
||||
vim.api.nvim_create_autocmd({ "BufAdd", "BufDelete" }, {
|
||||
callback = function()
|
||||
vim.schedule(function()
|
||||
pcall(nvim_bufferline)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue