emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
396 stars 46 forks source link

Remove empty lines between symbols in the outline #75

Closed nbfalcon closed 3 years ago

nbfalcon commented 3 years ago

Due to a complex chain of calls (described in a comment) causing treemacs-mode to be called in lsp-treemacs--update, after treemacs-space-between-root-nodes has been set up in lsp-treemacs-symbols, all local variables (including that one) were reset. Fix that, by calling lsp-treemacs-initialize early.

Whether empty lines should be drawn or not can be configured using the new lsp-treemacs-symbols-space-between-root-nodes defcustom, which is off by default (https://xkcd.com/1172/).

nbfalcon commented 3 years ago

Emacs is finally a perfect IDE.