From 07ef2b051ccdc6917b9b65d157df3ebc8f3ff0de Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 1 Jul 2017 01:13:15 +0900 Subject: Print [ERROR] on info line when the default command failed With zero result. Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805 --- src/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.go') diff --git a/src/core.go b/src/core.go index 6c3b321e..a528dbb6 100644 --- a/src/core.go +++ b/src/core.go @@ -228,7 +228,7 @@ func Run(opts *Options, revision string) { case EvtReadNew, EvtReadFin: reading = reading && evt == EvtReadNew snapshot, count := chunkList.Snapshot() - terminal.UpdateCount(count, !reading) + terminal.UpdateCount(count, !reading, value.(bool)) matcher.Reset(snapshot, terminal.Input(), false, !reading, sort) case EvtSearchNew: -- cgit v1.2.3