mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 11:14:32 +08:00
vim string representation fixes #6
This commit is contained in:
2
jedi
2
jedi
Submodule jedi updated: 908d019390...ff84e4670b
@@ -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