Skip to content

Commit 8edb119

Browse files
committed
Fix lsp-treemacs-get-icon
1 parent f0acc30 commit 8edb119

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lsp-treemacs-themes.el

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
:type 'string
3232
:group 'lsp-treemacs)
3333

34-
(defun lsp-treemacs-current-theme-name ()
35-
"Return the current treemacs theme name."
36-
(treemacs-theme->name lsp-treemacs-theme))
37-
3834
(treemacs-modify-theme "Default"
3935
:icon-directory (f-join (f-dirname (or load-file-name buffer-file-name)) "icons/vscode")
4036
:config

lsp-treemacs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384

385385
(defun lsp-treemacs-get-icon (icon-name)
386386
"Get the treemacs ICON using current theme."
387-
(treemacs-get-icon-value icon-name nil (lsp-treemacs-current-theme-name)))
387+
(treemacs-get-icon-value icon-name nil lsp-treemacs-theme))
388388

389389
(defun lsp-treemacs-symbol-icon (kind)
390390
"Get icon for `kind'."

0 commit comments

Comments
 (0)