Skip to content

Commit

Permalink
fix for pick multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongri Cui committed Jun 16, 2020
1 parent 8f41896 commit 58435fd
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 58435fd

Please sign in to comment.