diff --git a/autoload/UltiSnips.vim b/autoload/UltiSnips.vim index 4d24cf2..6000ff0 100644 --- a/autoload/UltiSnips.vim +++ b/autoload/UltiSnips.vim @@ -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 diff --git a/pythonx/UltiSnips/snippet_manager.py b/pythonx/UltiSnips/snippet_manager.py index 1522440..ffb26fe 100644 --- a/pythonx/UltiSnips/snippet_manager.py +++ b/pythonx/UltiSnips/snippet_manager.py @@ -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(