Skip to content

Commit

Permalink
fixes #128. Always apply mappings, even when using vim-dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
kassio committed May 9, 2014
1 parent c3e518c commit fda104e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion autoload/ack.vim
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ function! ack#Ack(cmd, args)
if !exists(":Dispatch")
call ack#show_results()
endif
call <SID>apply_maps()
call <SID>highlight(l:grepargs)

redraw!
endfunction

function! ack#show_results()
execute s:handler
call <SID>apply_maps()
endfunction

function! s:apply_maps()
Expand Down

0 comments on commit fda104e

Please sign in to comment.