change g:current_ulti_dict_all to g:current_ulti_dict_info
This commit is contained in:
parent
6a69a44154
commit
4e2e897de8
@ -93,7 +93,7 @@ function! UltiSnips#SnippetsInCurrentScope(...)
|
|||||||
let g:current_ulti_dict = {}
|
let g:current_ulti_dict = {}
|
||||||
let all = get(a:, 1, 0)
|
let all = get(a:, 1, 0)
|
||||||
if all
|
if all
|
||||||
let g:current_ulti_dict_all = {}
|
let g:current_ulti_dict_info = {}
|
||||||
endif
|
endif
|
||||||
exec g:_uspy "UltiSnips_Manager.snippets_in_current_scope(" . all . ")"
|
exec g:_uspy "UltiSnips_Manager.snippets_in_current_scope(" . all . ")"
|
||||||
return g:current_ulti_dict
|
return g:current_ulti_dict
|
||||||
|
@ -215,7 +215,7 @@ class SnippetManager(object):
|
|||||||
|
|
||||||
if searchAll:
|
if searchAll:
|
||||||
_vim.command(as_unicode(
|
_vim.command(as_unicode(
|
||||||
("let g:current_ulti_dict_all['{key}'] = {{"
|
("let g:current_ulti_dict_info['{key}'] = {{"
|
||||||
"'description': '{description}',"
|
"'description': '{description}',"
|
||||||
"'location': '{location}',"
|
"'location': '{location}',"
|
||||||
"}}")).format(
|
"}}")).format(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user