bugfix: call() splats arguments that you didn't want. (fixes #203)

This commit is contained in:
ujihisa 2014-01-01 01:27:00 -08:00
parent e27b72e119
commit 4f36f44726

View File

@ -108,7 +108,7 @@ function! neosnippet#commands#_make_cache(filetype) "{{{
let path = join(neosnippet#helpers#get_snippets_directory(), ',')
let snippets_files = []
for glob in call(s:get_list().flatten,
for glob in s:get_list().flatten(
\ map(split(get(g:neosnippet#scope_aliases,
\ filetype, filetype), '\s*,\s*'), "
\ [v:val . '.snip*', v:val . '/**/*.snip*']