mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-04 09:24:00 +08:00
escape file paths if opening new buffers/tabs, fixes #54
This commit is contained in:
1 parent
6a70c84cc0
commit
ff10a0a6e4
3 files changed
+7
-3
No files matched your search
@@ -299,5 +299,9 @@ def tabnew(path):
|
||||
vim.command('tabnew %s' % path)
|
||||
|
||||
|
||||
def escape_file_path(path):
|
||||
return path.replace(' ', r'\ ')
|
||||
|
||||
|
||||
def print_to_stdout(level, str_out):
|
||||
print(str_out)
|
||||
Reference in new issue
Block a user