From f62067b463e4b77e3ed7e4a142b876fae955f23a Mon Sep 17 00:00:00 2001 From: David Halter Date: Sun, 30 Sep 2012 22:41:54 +0200 Subject: [PATCH] vim string representation fixes #6 --- jedi | 2 +- plugin/jedi.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi b/jedi index 908d019..ff84e46 160000 --- a/jedi +++ b/jedi @@ -1 +1 @@ -Subproject commit 908d0193903642fc3e88ca1662764309ab461196 +Subproject commit ff84e4670b1622a9af0a090b1a906ac497c91d9e diff --git a/plugin/jedi.vim b/plugin/jedi.vim index dde2f98..e9a7ca6 100644 --- a/plugin/jedi.vim +++ b/plugin/jedi.vim @@ -85,7 +85,7 @@ class PythonToVimStr(str): """ Vim has a different string implementation of single quotes """ __slots__ = [] def __repr__(self): - return '"%s"' % self.replace('"', r'\"') + return '"%s"' % self.replace('\\', '\\\\').replace('"', r'\"') def echo_highlight(msg):