We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b412f16 commit 10c34fcCopy full SHA for 10c34fc
lsp-treemacs.el
@@ -375,7 +375,8 @@ will be rendered an empty line between them."
375
(setq-local treemacs-default-visit-action 'treemacs-RET-action)
376
(setq-local treemacs-space-between-root-nodes
377
lsp-treemacs-symbols-space-between-root-nodes)
378
- (setq lsp-treemacs--symbols-timer (run-at-time 0 1.0 #'lsp-treemacs--update))
+ (unless lsp-treemacs--symbols-timer
379
+ (setq lsp-treemacs--symbols-timer (run-with-idle-timer 1 t #'lsp-treemacs--update)))
380
(add-hook 'kill-buffer-hook 'lsp-treemacs--kill-symbols-buffer nil t)))
381
(with-current-buffer original-buffer (lsp-treemacs--update))))
382
0 commit comments