All splice commands are failing for me with cryptic python NameErrors like
NameError: name 'SpliceCompare' is not defined
I had to dig into the code to find the real error (which the plugin was silently swallowing), which was that the code is accessing a Buffer._buffer attribute that doesn't seem to exist:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splice.py", line 13, in <module>
import splicelib.init as splice
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splicelib/init.py", line 2, in <module>
from . import modes
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splicelib/modes.py", line 893, in <module>
loupe = LoupeMode()
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splicelib/modes.py", line 433, in __init__
self._current_buffer = buffers.result
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splicelib/util/bufferlib.py", line 52, in result
return Buffer(4)
File "/usr/local/google/home/dbarnett/.vim/plugged/splice.vim/autoload/splicelib/util/bufferlib.py", line 14, in __init__
self.name = self._buffer.name
AttributeError: 'Buffer' object has no attribute '_buffer'
All splice commands are failing for me with cryptic python NameErrors like
NameError: name 'SpliceCompare' is not defined
I had to dig into the code to find the real error (which the plugin was silently swallowing), which was that the code is accessing a Buffer._buffer attribute that doesn't seem to exist: