Skip to content

Commit

Permalink
chore: lets go with 49 after all
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx committed Aug 2, 2024
1 parent 579ee17 commit c1028a5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Changelog

## [3.6.2](https://github.com/Robitx/gp.nvim/compare/v3.6.1...v3.6.2) (2024-08-01)


### Bug Fixes

* zindex default to 50 ([0935f1e](https://github.com/Robitx/gp.nvim/commit/0935f1e972e495cca52227e635a4c202b87e26d5))

## [3.6.1](https://github.com/Robitx/gp.nvim/compare/v3.6.0...v3.6.1) (2024-08-01)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Voice commands (`:GpWhisper*`) depend on `SoX` (Sound eXchange) to handle audio
Below is a linked snippet with the default values, but I suggest starting with minimal config possible (just `openai_api_key` if you don't have `OPENAI_API_KEY` env set up). Defaults change over time to improve things, options might get deprecated and so on - it's better to change only things where the default doesn't fit your needs.

<!-- README_REFERENCE_MARKER_REPLACE_NEXT_LINE -->
https://github.com/Robitx/gp.nvim/blob/0935f1e972e495cca52227e635a4c202b87e26d5/lua/gp/config.lua#L9-L599
https://github.com/Robitx/gp.nvim/blob/6dca8ead9ffcfdb97d09a97369613ddd30170605/lua/gp/config.lua#L9-L599

# Usage

Expand Down
2 changes: 1 addition & 1 deletion doc/gp.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ options might get deprecated and so on - it’s better to change only things
where the default doesn’t fit your needs.


https://github.com/Robitx/gp.nvim/blob/0935f1e972e495cca52227e635a4c202b87e26d5/lua/gp/config.lua#L9-L599
https://github.com/Robitx/gp.nvim/blob/6dca8ead9ffcfdb97d09a97369613ddd30170605/lua/gp/config.lua#L9-L599


==============================================================================
Expand Down
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 = 50,
zindex = 49,

-- 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 50
local zindex = style.zindex or 49

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

0 comments on commit c1028a5

Please sign in to comment.