From 14651bfd0884de9e74fe9e0c868530961dc2093f Mon Sep 17 00:00:00 2001 From: conao3 Date: Mon, 13 Jan 2020 22:45:56 +0900 Subject: [PATCH] fix all-the-icons-icon-for-dir to ~icon-for-dir-with-chevron --- neotree.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neotree.el b/neotree.el index d7259ab..0156cb9 100644 --- a/neotree.el +++ b/neotree.el @@ -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 "- "))