Open Ekleog opened 4 years ago
How about this?
(defun db/lsp-treemacs-symbols-toggle ()
"Toggle the lsp-treemacs-symbols buffer."
(interactive)
(if (get-buffer "*LSP Symbols List*")
(kill-buffer "*LSP Symbols List*")
(progn (lsp-treemacs-symbols)
(other-window -1))))
This would be consistent with upstream's
treemacs
function.(I'm discovering the treemacs as well as lsp parts of emacs, and they all look great! just have a few weirdnesses to hammer out and… :))