Skip to content

Commit

Permalink
Fix grep actions error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Mar 9, 2015
1 parent 7104579 commit 6a26ba1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions autoload/unite/kinds/file_base.vim
Expand Up @@ -268,8 +268,7 @@ let s:kind.action_table.grep = {
\ }
function! s:kind.action_table.grep.func(candidates) "{{{
call unite#start_script([
\ ['grep', map(copy(a:candidates),
\ 'string(substitute(v:val.action__path, "/$", "", "g"))'),
\ ['grep', map(copy(a:candidates), 'v:val.action__path'),
\ ]], { 'no_quit' : 1, 'no_empty' : 1 })
endfunction "}}}

Expand All @@ -282,8 +281,7 @@ let s:kind.action_table.grep_directory = {
\ }
function! s:kind.action_table.grep_directory.func(candidates) "{{{
call unite#start_script([
\ ['grep', map(copy(a:candidates),
\ 'string(unite#helper#get_candidate_directory(v:val))'),
\ ['grep', map(copy(a:candidates), 'v:val.action__path'),
\ ]], { 'no_quit' : 1, 'no_empty' : 1 })
endfunction "}}}
"}}}
Expand Down

0 comments on commit 6a26ba1

Please sign in to comment.