Skip to content

Commit

Permalink
polished code
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias314 authored Jan 15, 2025
1 parent c0ba33e commit aa8d50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/buffer/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func findLineParams(b *Buffer, start, end Loc, i int, rPadded [4]*regexp.Regexp)
if start.X > 0 {
charpos = start.X-1
l = util.SliceEnd(l, charpos)
ri += 1 // rPadNone -> rPadStart, rPadEnd -> rPadBoth
ri++ // rPadNone -> rPadStart, rPadEnd -> rPadBoth
}
}

Expand Down

0 comments on commit aa8d50e

Please sign in to comment.