diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-07-28 20:19:58 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-07-29 03:02:11 +0700 |
| commit | 4dac61c864a3ec4b480cfd5229ca92890f8b9b7f (patch) | |
| tree | d025d42446a548c67acf8adc5e61e69158f58c01 /src/buffer.cc | |
| parent | 6ab98f8bf87f84a8aed49b659c8aa074c70d6161 (diff) | |
Fix grep-next/prev-match not jumping correctly to first/last match
When used just after grepping, grep-next-match ended up jumping to
the second match, as `0g` is the same as `g`.
The fix itself is pretty ugly, a better one might be to distinguish
the `0` count from no count given, so that `0g` could fail with
"no such line" or similar.
Diffstat (limited to 'src/buffer.cc')
0 files changed, 0 insertions, 0 deletions
