mirror of
https://github.com/junegunn/fzf.git
synced 2024-09-11 14:35:26 +03:00
feat: format
This commit is contained in:
parent
dc317f8983
commit
444d738f8e
@ -936,6 +936,6 @@ func EqualMatch(caseSensitive bool, normalize bool, forward bool, text *util.Cha
|
||||
}
|
||||
}
|
||||
|
||||
score := (scoreMatch + int(bonusBoundaryWhite)) * lenPattern + (bonusFirstCharMultiplier-1) * int(bonusBoundaryWhite)
|
||||
score := (scoreMatch+int(bonusBoundaryWhite))*lenPattern + (bonusFirstCharMultiplier-1)*int(bonusBoundaryWhite)
|
||||
return Result{trimmedLen, trimmedLen + lenPattern, score}, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user