Print [ERROR] on info line when the default command failed

With zero result.

Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311869805
This commit is contained in:
Junegunn Choi committed 2017-07-01 01:13:15 +09:00
1 parent 3fc795340d
commit 07ef2b051c
4 files changed
+25 -11

No files matched your search

+1 -1
View File
@@ -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: