Skip to content

Commit f67e0ca

Browse files
committed
fix map
1 parent a498a90 commit f67e0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/acid.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function! s:all_true(pred)
4343
endfunction
4444

4545
function! s:path_to_pattern(paths)
46-
return map(a:paths, ".*" . v:val . ".*")
46+
return map(a:paths, ".*" . a:paths[v:key] . ".*")
4747
endfunction
4848

4949
function! s:require()

0 commit comments

Comments
 (0)