davidhalter/jedi-vim — pull request #58 by flupke (2012-12-26 23:04:04+00:00)
Title: fixed jedi#new_buffer() when g:jedi#use_tabs_not_buffers = 0

This commit fixes the goto function when g:jedi#use_tabs_not_buffers = 0, by removing an extra vim.eval() call (and possibly other functions that use the jedi#new_buffer() function). Here is the error :

Error detected while processing function jedi#goto..jedi#new_buffer:
line 7:
E15: Invalid expression: /home/flupke/src/stupeflix/stupeflix/stupeflix/conf.py
E15: Invalid expression: /home/flupke/src/stupeflix/stupeflix/stupeflix/conf.py
Traceback (most recent call last):
File "", line 1, in
vim.error: invalid expression
Error detected while processing function jedi#goto:
line 1:
Traceback (most recent call last):
File "", line 1, in
File "/home/flupke/src/ext/jedi-vim/plugin/jedi_vim.py", line 139, in goto
vim.current.window.cursor = d.line_nr, d.column
vim.error: cursor position outside buffer