File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 444444 (25 'operator )
445445 (26 'template )))
446446
447+ (defun lsp-treemacs-symbol-icon (kind )
448+ " Get icon for `kind' ."
449+ (treemacs-get-icon-value (lsp-treemacs-symbol-kind->icon kind)
450+ nil
451+ lsp-treemacs-theme))
452+
447453(defun lsp-treemacs--symbol-icon (symbol expanded )
448454 " Get the symbol for the the kind."
449455 (-let [(&DocumentSymbol :kind :children? ) symbol]
450456 (concat
451457 (if (seq-empty-p children?)
452458 " "
453459 (if expanded " ▾ " " ▸ " ))
454- (treemacs-get-icon-value (lsp-treemacs-symbol-kind->icon kind)
455- nil
456- lsp-treemacs-theme))))
460+ (lsp-treemacs-symbol-icon kind))))
457461
458462(treemacs-define-expandable-node lsp-symbol
459463 :icon-open-form (lsp-treemacs--symbol-icon (treemacs-button-get node :symbol ) t )
You can’t perform that action at this time.
0 commit comments