bugfix: call() splats arguments that you didn't want. (fixes #203)
This commit is contained in:
parent
e27b72e119
commit
4f36f44726
@ -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*']
|
||||
|
Loading…
Reference in New Issue
Block a user