You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relating to splice, I noticed that when in grid mode and toggling to the
third layout I was seeing this error (I'm using a vim 7.4 patched to
658):
Error detected while processing function splice#SpliceLayout:
line 1:
Traceback (most recent call last):
File "", line 1, in
File "/home/wfiveash/.vim/bundle/splice/autoload/splice.py", line 58, in SpliceLayout
splice.modes.current_mode.key_layout()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 81, in key_layout
self.layout(next_layout)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 74, in layout
self.diff(self._current_diff_mode)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 18, in diff
getattr(self, 'diff%d' % diffmode)()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 276, in _diff_0
self.diffoff()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 34, in diffoff
windows.focus(winnr)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/util/windows.py", line 5, in focus
vim.command('%dwincmd w' % winnr)
vim.error: Vim(wincmd):E16: Invalid range: 5wincmd w
I think I found a fix for this in splice (in ~/.vim/bundle/splice):
Relating to splice, I noticed that when in grid mode and toggling to the
third layout I was seeing this error (I'm using a vim 7.4 patched to
658):
Error detected while processing function splice#SpliceLayout:
line 1:
Traceback (most recent call last):
File "", line 1, in
File "/home/wfiveash/.vim/bundle/splice/autoload/splice.py", line 58, in SpliceLayout
splice.modes.current_mode.key_layout()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 81, in key_layout
self.layout(next_layout)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 74, in layout
self.diff(self._current_diff_mode)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 18, in diff
getattr(self, 'diff%d' % diffmode)()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 276, in _diff_0
self.diffoff()
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/modes.py", line 34, in diffoff
windows.focus(winnr)
File "/home/wfiveash/.vim/bundle/splice/autoload/splicelib/util/windows.py", line 5, in focus
vim.command('%dwincmd w' % winnr)
vim.error: Vim(wincmd):E16: Invalid range: 5wincmd w
I think I found a fix for this in splice (in ~/.vim/bundle/splice):
I haven't done extensive testing of this but so far it seems to have
fixed that issue and I haven't noticed a regression.
The text was updated successfully, but these errors were encountered: