From a5ee534c98e7813951fea2c68ddfe4841306eaa4 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Sun, 3 Jun 2018 00:37:06 +0100 Subject: [PATCH] Fix errors when values contain ' --- python3/vimspector/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3/vimspector/variables.py b/python3/vimspector/variables.py index cb95d67..bc88cf8 100644 --- a/python3/vimspector/variables.py +++ b/python3/vimspector/variables.py @@ -271,7 +271,7 @@ class VariablesView( object ): def handler( message ): vim.eval( "balloon_show( '{0}' )".format( - message[ 'body' ][ 'result' ] ) ) + utils.Escape( message[ 'body' ][ 'result' ] ) ) ) self._connection.DoRequest( handler, { 'command': 'evaluate',