(Attempt to) Use current buffer in title of rabbit window
parent
864250db8b
commit
c72b0167a8
|
|
@ -49,7 +49,7 @@ local get_buffers = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.evt.RabbitEnter()
|
function M.evt.RabbitEnter()
|
||||||
M.opts.plugin_opts["buffers"].opts.window.title = vim.fn.bufname()
|
require("rabbit").opts.plugin_opts["buffers"] = { window = { title = vim.fn.bufname() } }
|
||||||
get_buffers()
|
get_buffers()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue