Merge pull request #240 from tamago324/fix-balloon-display
Fix balloon display
This commit is contained in:
commit
e634982d78
1 changed files with 3 additions and 0 deletions
|
|
@ -624,6 +624,9 @@ def ParseVariables( variables_list,
|
||||||
def DisplayBaloon( is_term, display ):
|
def DisplayBaloon( is_term, display ):
|
||||||
if not is_term:
|
if not is_term:
|
||||||
display = '\n'.join( display )
|
display = '\n'.join( display )
|
||||||
|
# To enable the Windows GUI to display the balloon correctly
|
||||||
|
# Refer https://github.com/vim/vim/issues/1512#issuecomment-492070685
|
||||||
|
vim.eval( "balloon_show( '' )" )
|
||||||
|
|
||||||
vim.eval( "balloon_show( {0} )".format(
|
vim.eval( "balloon_show( {0} )".format(
|
||||||
json.dumps( display ) ) )
|
json.dumps( display ) ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue