Preserve ' bookmark on sync (#624)

This commit is contained in:
Marius authored and GitHub committed 2021-05-13 21:31:25 +03:00
1 parent 843afdfe4f
commit 0cd634e9a8
1 file changed
+7 -1
+7 -1
View File
@@ -1010,7 +1010,13 @@ func (nav *nav) sync() error {
nav.saves[f] = cp
}
return nav.readMarks()
path, ok := nav.marks["'"]
err = nav.readMarks()
if ok {
nav.marks["'"] = path
}
return err
}
func (nav *nav) cd(wd string) error {