From 1041dbdcccc6332fec248cab6cbcb1eef561379e Mon Sep 17 00:00:00 2001 From: Johnson Su Date: Mon, 15 Aug 2022 15:20:00 -0400 Subject: [PATCH] Clear "Searching..." message after search in neovim --- autoload/ack.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoload/ack.vim b/autoload/ack.vim index b6afdba4..e8edc937 100644 --- a/autoload/ack.vim +++ b/autoload/ack.vim @@ -98,7 +98,11 @@ function! ack#ShowResults() "{{{ let l:handler = s:UsingLocList() ? g:ack_lhandler : g:ack_qhandler execute l:handler call s:ApplyMappings() - redraw! + if has('nvim') + echo + else + redraw! + endif endfunction "}}} "-----------------------------------------------------------------------------