Fix balloons in the GUI
This commit is contained in:
parent
079b392157
commit
c684fa0cbb
2 changed files with 11 additions and 5 deletions
|
|
@ -343,3 +343,11 @@ def ExpandReferencesInDict( obj, mapping, **kwargs ):
|
|||
|
||||
for k in obj.keys():
|
||||
obj[ k ] = expand_refs_in_object( obj[ k ] )
|
||||
|
||||
|
||||
def DisplayBaloon( is_term, display ):
|
||||
if not is_term:
|
||||
display = '\n'.join( display )
|
||||
|
||||
vim.eval( "balloon_show( {0} )".format(
|
||||
json.dumps( display ) ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue