Skip to content

Commit

Permalink
fix: add buffer name suffix .ksb_footerbuf to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Feb 20, 2024
1 parent e07fc10 commit 4f234de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/kitty-scrollback/footer_win.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ M.open_footer_window = function(winopts, refresh_only)
if not refresh_only or refresh_only == nil then
-- if buffer already exists, assume window is already created and just read
p.footer_bufid = vim.api.nvim_create_buf(false, true)
vim.api.nvim_buf_set_name(p.footer_bufid, vim.fn.tempname() .. '.ksb_footerbuf')
vim.api.nvim_set_option_value('filetype', 'help', {
buf = p.footer_bufid,
})
Expand Down

0 comments on commit 4f234de

Please sign in to comment.