sjl / splice.vim

A Vim plugin for managing three-way merges.
MIT License
234 stars 21 forks source link

Splice error during startup, modifiable is off #14

Open srathbun opened 11 years ago

srathbun commented 11 years ago

When attempting to use splice, I get the following traceback:

"Database.js.BASE.67139.js" 945L, 31423C
"Database.js.REMOTE.67139.js" 953L, 31708C
Error detected while processing function splice#SpliceInit:
line    3:
E21: Cannot make changes, 'modifiable' is off
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/srathbun/.vim/bundle/splice/autoload/splice.py", line 19, in SpliceInit
    splice.init()
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/init.py", line 113, in init
    modes.current_mode.activate()
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 394, in activate
    return super(GridMode, self).activate()
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 102, in activate
    self.layout(self._current_layout)
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 73, in layout
    getattr(self, '_layout_%d' % layoutnr)()
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 224, in _layout_0
    self.open_hud(5)
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 124, in open_hud
    self.redraw_hud()
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/modes.py", line 165, in redraw_hud
    buffers.hud.set_lines(self.hud_lines())
  File "/Users/srathbun/.vim/bundle/splice/autoload/splicelib/util/bufferlib.py", line 19, in set_lines
    self._buffer[:] = lines
vim.error: cannot save undo information