change g:current_ulti_dict_all to g:current_ulti_dict_info

This commit is contained in:
chemzqm 2016-01-11 23:58:42 +08:00
parent 6a69a44154
commit 4e2e897de8
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ function! UltiSnips#SnippetsInCurrentScope(...)
let g:current_ulti_dict = {}
let all = get(a:, 1, 0)
if all
let g:current_ulti_dict_all = {}
let g:current_ulti_dict_info = {}
endif
exec g:_uspy "UltiSnips_Manager.snippets_in_current_scope(" . all . ")"
return g:current_ulti_dict

View File

@ -215,7 +215,7 @@ class SnippetManager(object):
if searchAll:
_vim.command(as_unicode(
("let g:current_ulti_dict_all['{key}'] = {{"
("let g:current_ulti_dict_info['{key}'] = {{"
"'description': '{description}',"
"'location': '{location}',"
"}}")).format(