We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d54c19 commit 563d9f6Copy full SHA for 563d9f6
lua/plenary/window/border.lua
@@ -178,7 +178,8 @@ function Border:change_title(new_title, pos)
178
return
179
end
180
181
- pos = pos or (self._border_win_options.title[1] and self._border_win_options.title[1].pos)
+ pos = pos
182
+ or (self._border_win_options.title and self._border_win_options.title[1] and self._border_win_options.title[1].pos)
183
if pos == nil then
184
self._border_win_options.title = new_title
185
else
0 commit comments