Skip to content

Commit a7aaf0a

Browse files
committed
fix: Incorrect line number of search decorators
1 parent 6766bb5 commit a7aaf0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/neominimap/map/handlers/builtins/search.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ M.get_annotations = function(bufnr)
9797
return vim.tbl_map(function(lnum)
9898
---@type Neominimap.Map.Handler.Annotation[]
9999
return {
100-
lnum = lnum + 1,
101-
end_lnum = lnum + 1,
100+
lnum = lnum,
101+
end_lnum = lnum,
102102
priority = config.search.priority,
103103
id = 1,
104104
icon = config.search.icon,

0 commit comments

Comments
 (0)