Skip to content

Commit

Permalink
fix(nvim): Adjust spectre ui layout
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Mar 28, 2024
1 parent 7be77b0 commit dc56910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/my/configure/spectre/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ function M.toggle()
local win_width = vim.api.nvim_win_get_width(0)
local win_height = vim.api.nvim_win_get_height(0)
local width = 72
local height = win_height
local height = win_height - 1

local renderer = n.create_renderer({
width = width,
height = height,
relative = 'editor',
position = {
row = 0,
row = 1,
col = win_width - width - 1,
},
})
Expand Down

0 comments on commit dc56910

Please sign in to comment.