(Attempt to) Use current buffer in title of rabbit window
parent
80ca17e1b2
commit
75dfa2b75b
|
|
@ -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] = {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue