Permalink
Browse files

edit/completion: Start in filtering mode.

This fixes #678.
  • Loading branch information...
xiaq committed Jul 10, 2018
1 parent 99687f3 commit b24e4a73ccd948b8c08d4081c2bcfb7cf603a02b
Showing with 1 addition and 0 deletions.
  1. +1 −0 edit/completion/completion_mode.go
@@ -242,6 +242,7 @@ func (c *completion) start(ed eddefs.Editor, acceptSingleton bool) {
c.completionState = completionState{
completer: completer,
complSpec: *complSpec,
filtering: true,
filtered: complSpec.candidates,
}
ed.SetMode(c)

0 comments on commit b24e4a7

Please sign in to comment.