Skip to content

Commit

Permalink
fix: zindex default to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx committed Aug 1, 2024
1 parent 5090291 commit 0935f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/gp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ local config = {
style_popup_max_width = 160,

-- in case of visibility colisions with other plugins, you can increase/decrease zindex
zindex = 49,
zindex = 50,

-- command config and templates below are used by commands like GpRewrite, GpEnew, etc.
-- command prompt prefix for asking user for input (supports {{agent}} template variable)
Expand Down
2 changes: 1 addition & 1 deletion lua/gp/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ M.popup = function(buf, title, size_func, opts, style)
opts = opts or {}
style = style or {}
local border = style.border or "single"
local zindex = style.zindex or 49
local zindex = style.zindex or 50

-- create buffer
buf = buf or vim.api.nvim_create_buf(false, not opts.persist)
Expand Down

0 comments on commit 0935f1e

Please sign in to comment.