projectmgr.nvim icon indicating copy to clipboard operation
projectmgr.nvim copied to clipboard

Projectmgr does not work properly with rmagatti/auto-session

Open Sur-en opened this issue 2 years ago • 1 comments

I use projectmgr and rmagatti/auto-session, and they work fine if they aren't combined. When I start to use it together projectmgr hinders auto-session. This is the use case. I have a directory that was added to the project list. When open nvim in that directory auto-session cannot to load the session.

In order to fix this behavior I make one change in manage.lua file. I deleted api.nvim_command("bufdo bd") from M.close_project() function and after it auto-session starts work fine but this change broke projectmgr to load all buffers of a project.

Sur-en avatar Aug 15 '23 04:08 Sur-en

This seems like a not-so-easy fix, since auto-session and projectmgr appear to have wuite a bit of overlap in functionality. Out of curiosity, what's your usecase for combining both?

I'm open to adding some config option as a workaround (maybe disabling the overlapping parts?)

charludo avatar Aug 23 '23 06:08 charludo