BufferCompleter: avoid modifying the buffer when not needed
This commit is contained in:
parent
33740d06ee
commit
39f9ca33c8
|
@ -632,7 +632,7 @@ public:
|
|||
}
|
||||
}
|
||||
reset();
|
||||
select(0);
|
||||
setup_ifn();
|
||||
}
|
||||
|
||||
void reset()
|
||||
|
@ -646,7 +646,7 @@ private:
|
|||
if (opt.name() == "completions")
|
||||
{
|
||||
reset();
|
||||
select(0);
|
||||
setup_ifn();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user