We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c147310 commit 7dc24f0Copy full SHA for 7dc24f0
lua/incline/winline.lua
@@ -183,7 +183,10 @@ function Winline:render(opts)
183
end
184
if
185
(config.hide.cursorline == true or (config.hide.cursorline == 'focused_win' and self.focused))
186
- and self:get_win_geom_row() == a.nvim_win_call(self.target_win, vim.fn.winline)
+ and (
187
+ self:get_win_geom_row() + ((config.window.overlap.winbar or vim.wo[self.target_win].winbar == '') and 1 or 0)
188
+ )
189
+ == a.nvim_win_call(self.target_win, vim.fn.winline)
190
then
191
self:hide(HIDE_TEMP)
192
return
0 commit comments