use vim.command instead of vim.execute (which doesn't even exist), thanks to @enoodle for the hint

This commit is contained in:
David Halter
2012-12-25 23:58:59 +01:00
parent 4336cbb742
commit d576d7d151

View File

@@ -115,7 +115,7 @@ function! jedi#new_buffer(path)
if !&hidden && &modified
w
endif
python vim.execute('edit ' + vim.eval(jedi_vim.escape_file_path(vim.eval('a:path'))))
python vim.command('edit ' + vim.eval(jedi_vim.escape_file_path(vim.eval('a:path'))))
endif
endfunction