mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Fixup formatting
This commit is contained in:
parent
37c380d885
commit
9a1226684e
1 changed files with 1 additions and 2 deletions
|
@ -5124,8 +5124,7 @@ impl ReaderData {
|
|||
fn try_insert(&mut self, c: &Completion, tok: &wstr, token_range: Range<usize>) {
|
||||
// If this is a replacement completion, check that we know how to replace it, e.g. that
|
||||
// the token doesn't contain evil operators like {}.
|
||||
if !c.flags.contains(CompleteFlags::REPLACES_TOKEN) || reader_can_replace(tok, c.flags)
|
||||
{
|
||||
if !c.flags.contains(CompleteFlags::REPLACES_TOKEN) || reader_can_replace(tok, c.flags) {
|
||||
self.completion_insert(&c.completion, token_range.end, c.flags);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue