The +/- just makes it confusing
This commit is contained in:
parent
88ac7f6d55
commit
22ffc43129
1 changed files with 1 additions and 2 deletions
|
|
@ -276,10 +276,9 @@ class VariablesView( object ):
|
||||||
# user to interact with the balloon to expand it.
|
# user to interact with the balloon to expand it.
|
||||||
body = message[ 'body' ]
|
body = message[ 'body' ]
|
||||||
ref = body.get( 'variablesReference', 0 )
|
ref = body.get( 'variablesReference', 0 )
|
||||||
icon = '+ ' if ref > 0 else ''
|
|
||||||
display = [
|
display = [
|
||||||
'Type: ' + body.get( 'type', '<unknown>' ),
|
'Type: ' + body.get( 'type', '<unknown>' ),
|
||||||
icon + 'Value: ' + body[ 'result' ]
|
'Value: ' + body[ 'result' ]
|
||||||
]
|
]
|
||||||
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