From fda104e4ee7d5897b28460de0618512d250054ae Mon Sep 17 00:00:00 2001 From: Kassio Borges Date: Fri, 9 May 2014 10:23:43 -0300 Subject: [PATCH] fixes #128. Always apply mappings, even when using vim-dispatch --- README.md | 4 ++++ autoload/ack.vim | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60408e44..dab75bbd 100644 --- a/README.md +++ b/README.md @@ -104,3 +104,7 @@ foo' to search for #define foo. (From blueyed in issue #5.) * Fixes #127. Use `&l:hlsearch` instead of `v:hlsearch` to keep compatibility with versions that does not have this variable. + +### 1.0.4 + +* Fixes #128. Always apply mappings, even when using vim-dispatch. diff --git a/autoload/ack.vim b/autoload/ack.vim index 7ae32760..51a66385 100644 --- a/autoload/ack.vim +++ b/autoload/ack.vim @@ -52,6 +52,7 @@ function! ack#Ack(cmd, args) if !exists(":Dispatch") call ack#show_results() endif + call apply_maps() call highlight(l:grepargs) redraw! @@ -59,7 +60,6 @@ endfunction function! ack#show_results() execute s:handler - call apply_maps() endfunction function! s:apply_maps()