From 4ea7c3fd61851189dcad4e2643f235486229ca9f Mon Sep 17 00:00:00 2001 From: Kassio Borges Date: Mon, 2 Sep 2013 11:48:18 -0300 Subject: [PATCH] Issue fix #84 Fix to highlight works with quotes and doubles quotes --- plugin/ack.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/ack.vim b/plugin/ack.vim index ccd46861..2bc44a74 100644 --- a/plugin/ack.vim +++ b/plugin/ack.vim @@ -80,7 +80,7 @@ function! s:Ack(cmd, args) " If highlighting is on, highlight the search keyword. if exists("g:ackhighlight") - let @/=a:args + let @/ = substitute(a:args,'["'']','','g') set hlsearch end