My attempt to fix issue 1002. I added logic to programmatically rename a treemacs workspace and then added hooks for persp-mode and perspective.el.
Callouts
I've only tested the treemacs-perspective--on-perspective-rename function manually since I don't use perspective.el.
There are more places where the rename function could be inserted to be used, but I left them alone for the time being as I don't know the treemacs codebase that well.
Along with the previous point, I don't know if the rename function was written as efficiently as possible, so let me know if there are obvious improvements to be made.
Summary
My attempt to fix issue 1002. I added logic to programmatically rename a treemacs workspace and then added hooks for persp-mode and perspective.el.
Callouts
treemacs-perspective--on-perspective-rename
function manually since I don't useperspective.el
.