mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 03:24:47 +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
|
if !&hidden && &modified
|
||||||
w
|
w
|
||||||
endif
|
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
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user