From 4e2e897de8b34b373fc7c2be2dcde09489ac612f Mon Sep 17 00:00:00 2001 From: chemzqm Date: Mon, 11 Jan 2016 23:58:42 +0800 Subject: [PATCH] change g:current_ulti_dict_all to g:current_ulti_dict_info --- autoload/UltiSnips.vim | 2 +- pythonx/UltiSnips/snippet_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(