sjl/threesome.vim — Issue #6: Threesome is now broken with IndexError and NameError
Author: sorin-ionescu
Created: 2011-10-16 04:52:18+00:00
State: open

I have upgraded threesome.vim, and it's now broken. The following error occurs when executing `ThreesomeInit`.

Error detected while processing function threesome#ThreesomeInit:
line 2:
Traceback (most recent call last):
File "", line 1, in
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesome.py", line 13, in
import threesomelib.init as threesome
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesomelib/init.py", line 2, in
import modes
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesomelib/modes.py", line 883, in
loupe = LoupeMode()
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesomelib/modes.py", line 432, in __init__
self._current_buffer = buffers.result
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesomelib/util/bufferlib.py", line 49, in result
return Buffer(3)
File "/Users/sorin/.vim/bundle/threesome.vim/autoload/threesomelib/util/bufferlib.py", line 10, in __init__
self._buffer = vim.buffers[i]
IndexError: no such buffer
line 3:
Traceback (most recent call last):
File "", line 1, in
NameError: name 'ThreesomeInit' is not defined
Press ENTER or type command to continue