Shatur / neovim-session-manager

A simple wrapper around :mksession.
GNU General Public License v3.0
530 stars 52 forks source link

[BUG] When part of the path is the same, only display one. #125

Open QPH-Coding opened 5 months ago

QPH-Coding commented 5 months ago

Bug description When part of the path is the same, only display one. I have two paths(/home/username/git/git-repo/ and /home/username/tmp/git/git-repo/), when both paths are saved as a session, only one path is displayed. However, after loading one of the sessions, both paths will be displayed again.

Steps to reproduce

Expected behavior

Both sessions are displayed.

Screenshots

Environment

QPH-Coding commented 5 months ago

After a period of use, compared to the situations I have listed above, it is more like in a certain path /home/username/tmp/git/git-repo/, then it will not be able to find the session of that path /home/username/tmp/git/git-repo/. However, during this period of use, I did not notice whether there had been any updates, and it seems to be an intermittent bug. This is the commit at the time of writing this comment: 29f80e9c6f3620b81908e287b3d1ed79c2290dd5.

Shatur commented 5 months ago

Currently don't have time to investigate, unfortunately.