supermaven: Fix incorrect offset calculation (#17925)
Fixes a bug in https://github.com/zed-industries/zed/pull/17578 when computing the offset. Specifically, `offset.add_assign()` should be incremented on every loop match instead of only when the completion text is found. Before:  After:  Release Notes: - Fixed a wrong offset calculation in the Supermaven inline completion provider.
K
Kevin Wang committed
c48584fb7964d998b7bfe8f426f60f909db496d4
Parent: f1d2136
Committed by GitHub <noreply@github.com>
on 9/17/2024, 2:04:33 PM