mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-16 02:51:46 +08:00
vim string representation fixes #6
This commit is contained in:
1 parent
d4e2e082d6
commit
f62067b463
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user