Skip to content

Commit

Permalink
fix all-the-icons-icon-for-dir to ~icon-for-dir-with-chevron
Browse files Browse the repository at this point in the history
  • Loading branch information
conao3 committed Jan 13, 2020
1 parent c2420a4 commit 14651bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neotree.el
Original file line number Diff line number Diff line change
Expand Up @@ -1264,8 +1264,8 @@ Optional NODE-NAME is used for the `icons' theme"
(unless (require 'all-the-icons nil 'noerror)
(error "Package `all-the-icons' isn't installed"))
(setq-local tab-width 1)
(or (and (equal name 'open) (insert (all-the-icons-icon-for-dir (directory-file-name node-name) "down")))
(and (equal name 'close) (insert (all-the-icons-icon-for-dir (directory-file-name node-name) "right")))
(or (and (equal name 'open) (insert (all-the-icons-icon-for-dir-with-chevron (directory-file-name node-name) "down")))
(and (equal name 'close) (insert (all-the-icons-icon-for-dir-with-chevron (directory-file-name node-name) "right")))
(and (equal name 'leaf) (insert (format "\t\t\t%s\t" (all-the-icons-icon-for-file node-name))))))
(t
(or (and (equal name 'open) (funcall n-insert-symbol "- "))
Expand Down

0 comments on commit 14651bf

Please sign in to comment.