fix(win): make sure the border is set when setting the title

This commit is contained in:
Folke Lemaitre 2025-02-25 20:25:52 +01:00
parent 0d09c46371
commit 76311aba31
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -632,6 +632,7 @@ function M:set_title(title, pos)
return
end
vim.api.nvim_win_set_config(self.win, {
border = self.opts.border,
title = self.opts.title,
title_pos = self.opts.title_pos,
})