mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 17:44:30 +00:00
Adjust scoring
This commit is contained in:
parent
aa6d6582fd
commit
2e1a4b2591
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub struct Diff {
|
|||
impl Diff {
|
||||
const INSERTION_SCORE: isize = -1;
|
||||
const DELETION_SCORE: isize = -4;
|
||||
const EQUALITY_SCORE: isize = 5;
|
||||
const EQUALITY_SCORE: isize = 15;
|
||||
|
||||
pub fn new(old: String) -> Self {
|
||||
let old = old.chars().collect::<Vec<_>>();
|
||||
|
|
Loading…
Reference in a new issue