Skip to content

Commit

Permalink
Merge pull request #63 from choihongil/fix/pick_multiple_files
Browse files Browse the repository at this point in the history
fix for pick multiple files
  • Loading branch information
mcchrish authored Jun 17, 2020
2 parents 8f41896 + 58435fd commit 37a9736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/nnn.vim
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function! s:extract_filenames()
return []
endif

let l:names = uniq(filter(split(l:file[0], "\\n"), '!isdirectory(v:val) && filereadable(v:val)'))
let l:names = uniq(filter(l:file, '!isdirectory(v:val) && filereadable(v:val)'))
if empty(l:names) || strlen(l:names[0]) <= 0
return []
endif
Expand Down

0 comments on commit 37a9736

Please sign in to comment.