With https://github.com/Alexander-Miller/treemacs/issues/592 merged, treemacs now fully supports perspective mode. That is, each treemacs buffer is scoped to a perspective and initializes itself using projectile. This change re-enables treemacs-persp, enables the `Perspectives` scope, and adjusts the doom treemacs init behavior to support the new treemacs-persp behavior. I haven't been able to reproduce the prior errors with melpa so I think this is safe to re-enable now. In my testing it seems to work flawlessly, both with and without persp-mode enabled. Only one issue is that users might need to remove their treemacs persist file (`~/.emacs.d/.local/cache/treemacs-persist`) after this change if using persp-mode. I'm not sure if it is necessary since I blew away my own before testing.
11 lines
322 B
EmacsLisp
11 lines
322 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; ui/treemacs/packages.el
|
|
|
|
(package! treemacs :pin "81b69d9ee2")
|
|
(when (featurep! :editor evil +everywhere)
|
|
(package! treemacs-evil))
|
|
(package! treemacs-projectile)
|
|
(when (featurep! :tools magit)
|
|
(package! treemacs-magit))
|
|
(when (featurep! :ui workspaces)
|
|
(package! treemacs-persp))
|