From be062870328ac3946625bc9fe7e2f43fc0bc3e0b Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 20 Jul 2021 20:00:11 +0200 Subject: [PATCH] Add fancy lsp and treemacs shit --- files/init.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/files/init.el b/files/init.el index 235e51e..6921c58 100644 --- a/files/init.el +++ b/files/init.el @@ -331,7 +331,8 @@ treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory) treemacs-width 40 treemacs-project-follow-cleanup t) - (treemacs-follow-mode t)) + (treemacs-follow-mode t) + (treemacs-load-theme "doom-atom")) :bind (:map global-map ("C-x t t" . treemacs))) @@ -367,6 +368,15 @@ (python-mode . lsp) (haskell-mode . lsp)) +;; fancy shit for lsp in treemacs +(use-package lsp-treemacs + :ensure t + :init + (lsp-treemacs-sync-mode 1) + :bind + (:map global-map + ("C-x t s" . lsp-treemacs-symbols))) + ;; Ui integration for Lsp (use-package lsp-ui :ensure t