(lsp-treemacs-sync-mode 1)
(defun dk/treemacs-toggle ()
- "Toggle treemacs-projectile and lsp symbols"
+ "Toggle treemacs"
(interactive)
(if (treemacs-current-visibility)
(treemacs)
- (progn
- (treemacs-projectile)
- (treemacs-add-and-display-current-project-exclusively)
- )))
+ (treemacs-add-and-display-current-project-exclusively)))
#+end_src
* Version Control
(lsp-treemacs-sync-mode 1)
(defun dk/treemacs-toggle ()
- "Toggle treemacs-projectile and lsp symbols"
+ "Toggle treemacs"
(interactive)
(if (treemacs-current-visibility)
(treemacs)
- (progn
- (treemacs-projectile)
- (treemacs-add-and-display-current-project-exclusively)
- )))
+ (treemacs-add-and-display-current-project-exclusively)))
(use-package magit
:commands (magit-status magit-get-current-branch)