Skip to content

Commit b39bd43

Browse files
authored
fix: update title highlights on Border:move (#264)
1 parent ed0e140 commit b39bd43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/plenary/window/border.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ function Border:move(content_win_options, border_win_options)
234234

235235
-- Set config for border window
236236
vim.api.nvim_win_set_config(self.win_id, nvim_win_config)
237+
238+
set_title_highlights(self.bufnr, self.title_ranges, self._border_win_options.titlehighlight)
237239
end
238240

239241
function Border:new(content_bufnr, content_win_id, content_win_options, border_win_options)

0 commit comments

Comments
 (0)