Fix some formatting

This commit is contained in:
Zachary Yedidia
2019-12-29 22:02:14 -05:00
parent 9b03a3dc6d
commit 3b66a3364c
6 changed files with 40 additions and 43 deletions

View File

@@ -115,7 +115,7 @@ func (b *Buffer) FindNext(s string, start, end, from Loc, down bool, useRegex bo
return [2]Loc{}, false, err
}
found := false
var found bool
var l [2]Loc
if down {
l, found = b.findDown(r, from, end)