Skip to content

Commit

Permalink
Move setting renderer.pos into proper scope
Browse files Browse the repository at this point in the history
  • Loading branch information
monkoose committed Sep 12, 2024
1 parent c768da5 commit 03248b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/neocodeium/completer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,7 @@ function Completer:accept()
if block then
utils.set_lines(lnum, lnum, block)
utils.set_cursor(pos)
end
-- required to update label position
if pos then
-- required to update label position
renderer.pos = pos
end
end, 0)
Expand Down

0 comments on commit 03248b8

Please sign in to comment.