Skip to content

Commit

Permalink
put space between ackprg and ack_default_options 💣
Browse files Browse the repository at this point in the history
Thank's @kamelzcs

fixes #110

Conflicts:

	plugin/ack.vim
  • Loading branch information
kassio committed Mar 25, 2014
1 parent b9b8c0a commit 41344d8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions plugin/ack.vim
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
" Location of the ack utility
if !exists("g:ackprg")
let s:ack_default_options = "-s -H --nocolor --nogroup --column"
if executable('ack-grep')
let g:ackprg = "ack-grep"
elseif executable('ack')
if executable('ack')
let g:ackprg = "ack"
elseif executable('ack-grep')
let g:ackprg = "ack-grep"
else
finish
endif
let g:ackprg .= s:ack_default_options
let g:ackprg .= " -s -H --nocolor --nogroup --column"
endif

let s:ackprg_version = eval(matchstr(system(g:ackprg . " --version"), '[0-9.]\+'))
Expand Down

0 comments on commit 41344d8

Please sign in to comment.