Skip to content

Commit

Permalink
Merge lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstein64 committed Oct 11, 2023
1 parent 0f286e8 commit 89ba324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/scrollview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ local get_float_overlaps = function(top, bottom, left, right)
local winid = fn.win_getid(winnr)
local config = api.nvim_win_get_config(winid)
local floating = tbl_get(config, 'relative', '') ~= ''
local workspace_win = false
workspace_win = fn.getwinvar(winid, WIN_WORKSPACE_BASE_WINID_VAR, -1) ~= -1
local workspace_win =
fn.getwinvar(winid, WIN_WORKSPACE_BASE_WINID_VAR, -1) ~= -1
if not workspace_win and floating then
local top2, bottom2, left2, right2 = get_window_edges(winid)
if top <= bottom2
Expand Down

0 comments on commit 89ba324

Please sign in to comment.