Commits

killphi committed 12d0ec6

Implement crash solution given in Google group.

link for Google group:
https://groups.google.com/forum/#!topic/vim_dev/HgKdV33Jy5I

  • Participants
  • Parent commits 01e6879

Comments (0)

Files changed (1)

File autoload/splicelib/util/bufferlib.py

 class Buffer(object):
     def __init__(self, i):
         self.number = i + 1
-        self._buffer = vim.buffers[i]
+        for b in vim.buffers:
+            if b.number == self.number:
+                self._buffer = b
+            break
         self.name = self._buffer.name
 
     def open(self, winnr=None):