fix(treemacs): simplify lsp-treemacs load-order

dec058f fixed the load order between treemacs-nerd-icons and
lsp-treemacs, but lsp-treemacs still loads so late that folks will see a
theme-less Treemacs until they visit their first lsp-mode-enabled file.
This ensures that won't happen.

Amend: dec058fabb5e
Amend: #7519
This commit is contained in:
Henrik Lissner 2024-03-11 05:28:51 -04:00 committed by Yann Esposito (Yogsototh)
parent c068f59bd0
commit 1a8afbb4ff
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -84,6 +84,7 @@ This must be set before `treemacs' has loaded.")
:after treemacs
:config (treemacs-set-scope-type 'Perspectives))
(use-package! lsp-treemacs
:when (modulep! +lsp)
:after (treemacs lsp))
:after treemacs)