(Attempt to) Use current buffer in title of rabbit window

master
Bryan 2024-10-20 11:11:54 -06:00
parent 80ca17e1b2
commit 75dfa2b75b
1 changed files with 3 additions and 6 deletions

View File

@ -22,14 +22,11 @@ local M = { ---@type Rabbit.Plugin
end, end,
---@type Rabbit.Plugin.Buffers.Options ---@type Rabbit.Plugin.Buffers.Options
opts = { opts = {},
-- ignore_unlisted = true,
window = {
title = "Buffers",
},
},
} }
require("rabbit").opts.window.title = "Buffers"
local get_buffers = function() local get_buffers = function()
M.listing.bufnrs = {} M.listing.bufnrs = {}
M.listing[0] = {} M.listing[0] = {}