Fix bug with on reopen

This commit is contained in:
Zachary Yedidia
2016-05-30 18:22:10 -04:00
parent b312e7c9ad
commit d4caf4510c
2 changed files with 3 additions and 1 deletions

View File

@@ -192,6 +192,8 @@ func (v *View) CloseBuffer() {
func (v *View) ReOpen() {
if v.CanClose("Continue? (yes, no, save) ") {
v.Buf.ReOpen()
v.Relocate()
v.matches = Match(v)
}
}