From 4f36f44726e19b0a2da63c05106f53ba0849cf79 Mon Sep 17 00:00:00 2001 From: ujihisa Date: Wed, 1 Jan 2014 01:27:00 -0800 Subject: [PATCH] bugfix: call() splats arguments that you didn't want. (fixes #203) --- autoload/neosnippet/commands.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neosnippet/commands.vim b/autoload/neosnippet/commands.vim index f2c47fb..f3eded2 100644 --- a/autoload/neosnippet/commands.vim +++ b/autoload/neosnippet/commands.vim @@ -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*']