mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +08:00
escape file paths if opening new buffers/tabs, fixes #54
This commit is contained in:
@@ -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