Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Badragan committed May 8, 2024
1 parent 5155547 commit 29ce09b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/grug-far/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ local function ensureTopEmptyLines(buf, count)
end

local TOP_EMPTY_LINES = 2
local BEFORE_RESULTS_LINES = 2

local function render(params, context)
local buf = params.buf
Expand Down Expand Up @@ -75,7 +76,7 @@ local function render(params, context)
placeholder = "ex: --hidden (-.) --ignore-case (-i) --multiline (-U)",
}, context))

lineNr = lineNr + 2
lineNr = lineNr + BEFORE_RESULTS_LINES
renderResults({
buf = buf,
minLineNr = lineNr,
Expand Down

0 comments on commit 29ce09b

Please sign in to comment.