Skip to content

Commit

Permalink
grep/git: fix for pattern being interpreted as an option
Browse files Browse the repository at this point in the history
  • Loading branch information
unclechu authored Jan 11, 2018
1 parent 8462487 commit d013183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/unite/sources/grep_git.vim
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function! s:source.gather_candidates(args, context) abort "{{{
let a:context.is_async = 1
endif

let cmdline = printf('git grep -n --no-color %s %s -- %s',
let cmdline = printf('git grep -n --no-color %s -- %s %s',
\ a:context.source__extra_opts,
\ string(a:context.source__input),
\ unite#helper#join_targets(a:context.source__targets),
Expand Down

0 comments on commit d013183

Please sign in to comment.