From 383971b0cfd8248ec3d00d4a3154d69ebd5e394e Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sun, 12 Mar 2023 20:58:02 -0700 Subject: [PATCH] fix: preview window renders on top of floating window title (#72) --- lua/oil/mutator/preview.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/oil/mutator/preview.lua b/lua/oil/mutator/preview.lua index be302cf..48893b2 100644 --- a/lua/oil/mutator/preview.lua +++ b/lua/oil/mutator/preview.lua @@ -64,6 +64,7 @@ M.show = vim.schedule_wrap(function(actions, should_confirm, cb) height = height, row = math.floor((vim.o.lines - vim.o.cmdheight - height) / 2), col = math.floor((vim.o.columns - width) / 2), + zindex = 152, -- render on top of the floating window title style = "minimal", border = "rounded", })