From 90f90fb34d36a029bcd69f203dd52887d13013a0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Mar 2024 05:28:51 -0400 Subject: [PATCH] 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 --- modules/ui/treemacs/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ui/treemacs/config.el b/modules/ui/treemacs/config.el index 211e1f3bc..d232ec1b0 100644 --- a/modules/ui/treemacs/config.el +++ b/modules/ui/treemacs/config.el @@ -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)