From 58435fd7aa04a0fd861eb501ef3c78a50800f4b4 Mon Sep 17 00:00:00 2001 From: Hongri Cui Date: Wed, 17 Jun 2020 00:07:15 +0900 Subject: [PATCH] fix for pick multiple files --- autoload/nnn.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/nnn.vim b/autoload/nnn.vim index 436d93f..20ee2b8 100644 --- a/autoload/nnn.vim +++ b/autoload/nnn.vim @@ -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