Skip to content

Commit

Permalink
Merge pull request #326 from conao3/fix-function-name
Browse files Browse the repository at this point in the history
Fix all-the-icons-icon-for-dir to ~icon-for-dir-with-chevron
  • Loading branch information
palikar authored Mar 24, 2020
2 parents c2420a4 + 14651bf commit 98fe213
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 98fe213

Please sign in to comment.