mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 18:54:44 +08:00
use vim.command instead of vim.execute (which doesn't even exist), thanks to @enoodle for the hint
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user