diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index 2831b7b..6bf306a 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -25,6 +25,12 @@ return { { "branch" }, { "diff" }, { "diagnostics" }, + { + function() + local buffers = vim.fn.getbufinfo({ buflisted = true }) + return "Buffers: " .. #buffers + end, + }, }, lualine_c = { { "filename", file_status = true, path = 1 },