From ee17ae94c4ea773e656c0423202af574a9f77bcf Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 26 Nov 2023 16:39:43 +0100 Subject: [PATCH] update neotree Signed-off-by: Andreas Gerler --- elpa/neotree-20200324.1946/icons/close.xpm | 40 +++++++++++++++++++ elpa/neotree-20200324.1946/icons/leaf.xpm | 34 ++++++++++++++++ elpa/neotree-20200324.1946/icons/open.xpm | 39 ++++++++++++++++++ .../neotree-autoloads.el | 20 +++------- .../neotree-pkg.el | 6 ++- .../neotree.el | 4 +- 6 files changed, 125 insertions(+), 18 deletions(-) create mode 100644 elpa/neotree-20200324.1946/icons/close.xpm create mode 100644 elpa/neotree-20200324.1946/icons/leaf.xpm create mode 100644 elpa/neotree-20200324.1946/icons/open.xpm rename elpa/{neotree-20181121.2026 => neotree-20200324.1946}/neotree-autoloads.el (78%) rename elpa/{neotree-20181121.2026 => neotree-20200324.1946}/neotree-pkg.el (55%) rename elpa/{neotree-20181121.2026 => neotree-20200324.1946}/neotree.el (99%) diff --git a/elpa/neotree-20200324.1946/icons/close.xpm b/elpa/neotree-20200324.1946/icons/close.xpm new file mode 100644 index 00000000..116c1db3 --- /dev/null +++ b/elpa/neotree-20200324.1946/icons/close.xpm @@ -0,0 +1,40 @@ +/* XPM */ +static char * close_xpm[] = { +"16 22 15 1", +" c None", +". c #848400", +"+ c #E7E79C", +"@ c #E7E794", +"# c #DEDE8C", +"$ c #ADAD39", +"% c #ADAD42", +"& c #B5B54A", +"* c #B5B552", +"= c #BDBD5A", +"- c #9C9C29", +"; c #A5A531", +"> c #C6C663", +", c #C6C66B", +"' c #CECE73", +" ", +" ", +" ", +" ", +" ", +" ", +" .... ", +".+@@#....... ", +".....$%%&&*=. ", +".-;;$%%&&*==. ", +".;;$%%&&*===. ", +".;$%%&&*===>. ", +".$%%&&*===>,. ", +".%%&&*===>,,. ", +".%&&*===>,,'. ", +"............. ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/elpa/neotree-20200324.1946/icons/leaf.xpm b/elpa/neotree-20200324.1946/icons/leaf.xpm new file mode 100644 index 00000000..53a86c75 --- /dev/null +++ b/elpa/neotree-20200324.1946/icons/leaf.xpm @@ -0,0 +1,34 @@ +/* XPM */ +static char * leaf_xpm[] = { +"16 22 9 1", +" c None", +". c #424242", +"+ c #949494", +"@ c #9C9C9C", +"# c #A5A5A5", +"$ c #ADADAD", +"% c #848484", +"& c #B5B5B5", +"* c #BDBDBD", +" ", +" ", +" ", +" ", +" ", +"....... ", +".++@@#.. ", +".+@@##.$. ", +".@@###.... ", +".@%%%+%$&. ", +".###$$$&&. ", +".#%+%%%&*. ", +".#$$$&&**. ", +".$%%+%%**. ", +".$$&&****. ", +".$&&*****. ", +".......... ", +" ", +" ", +" ", +" ", +" "}; diff --git a/elpa/neotree-20200324.1946/icons/open.xpm b/elpa/neotree-20200324.1946/icons/open.xpm new file mode 100644 index 00000000..6c959f7b --- /dev/null +++ b/elpa/neotree-20200324.1946/icons/open.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * open_xpm[] = { +"16 22 14 1", +" c None", +". c #848400", +"+ c #D6D67B", +"@ c #CECE7B", +"# c #CECE73", +"$ c #C6C66B", +"% c #BDBD5A", +"& c #BDBD52", +"* c #ADAD39", +"= c #ADAD42", +"- c #B5B54A", +"; c #C6C663", +"> c #CECE6B", +", c #A5A5C6", +" ", +" ", +" ", +" ", +" ", +" ", +" .... ", +".+@@#..... ", +".@@##$$%%&. ", +".@#.......... ", +".#.*==--&%%;;. ", +".#.==--&%%;;. ", +"..==--&%%;;$. ", +"..=--&%%;;$. ", +".=--&%%;;$>. ", +"........... ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/elpa/neotree-20181121.2026/neotree-autoloads.el b/elpa/neotree-20200324.1946/neotree-autoloads.el similarity index 78% rename from elpa/neotree-20181121.2026/neotree-autoloads.el rename to elpa/neotree-20200324.1946/neotree-autoloads.el index c97f8ab4..61efe614 100644 --- a/elpa/neotree-20181121.2026/neotree-autoloads.el +++ b/elpa/neotree-20200324.1946/neotree-autoloads.el @@ -1,4 +1,4 @@ -;;; neotree-autoloads.el --- automatically extracted autoloads +;;; neotree-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- ;; ;;; Code: @@ -22,24 +22,16 @@ Usage: (setq projectile-switch-project-action 'neotree-projectile-action). When running `projectile-switch-project' (C-c p p), `neotree' will change root -automatically. - -\(fn)" t nil) +automatically." t nil) (autoload 'neotree-toggle "neotree" "\ -Toggle show the NeoTree window. - -\(fn)" t nil) +Toggle show the NeoTree window." t nil) (autoload 'neotree-show "neotree" "\ -Show the NeoTree window. - -\(fn)" t nil) +Show the NeoTree window." t nil) (autoload 'neotree-hide "neotree" "\ -Close the NeoTree window. - -\(fn)" t nil) +Close the NeoTree window." t nil) (autoload 'neotree-dir "neotree" "\ Show the NeoTree window, and change root to PATH. @@ -49,7 +41,7 @@ Show the NeoTree window, and change root to PATH. (defalias 'neotree 'neotree-show "\ Show the NeoTree window.") -(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "neotree" '("neo" "off-p"))) +(register-definition-prefixes "neotree" '("neo" "off-p")) ;;;*** diff --git a/elpa/neotree-20181121.2026/neotree-pkg.el b/elpa/neotree-20200324.1946/neotree-pkg.el similarity index 55% rename from elpa/neotree-20181121.2026/neotree-pkg.el rename to elpa/neotree-20200324.1946/neotree-pkg.el index 0a7ad122..79071330 100644 --- a/elpa/neotree-20181121.2026/neotree-pkg.el +++ b/elpa/neotree-20200324.1946/neotree-pkg.el @@ -1,6 +1,8 @@ -(define-package "neotree" "20181121.2026" "A tree plugin like NerdTree for Vim" +(define-package "neotree" "20200324.1946" "A tree plugin like NerdTree for Vim" '((cl-lib "0.5")) - :authors + :commit "98fe21334affaffe2334bf7c987edaf1980d2d0b" :authors + '(("jaypei" . "jaypei97159@gmail.com")) + :maintainers '(("jaypei" . "jaypei97159@gmail.com")) :maintainer '("jaypei" . "jaypei97159@gmail.com") diff --git a/elpa/neotree-20181121.2026/neotree.el b/elpa/neotree-20200324.1946/neotree.el similarity index 99% rename from elpa/neotree-20181121.2026/neotree.el rename to elpa/neotree-20200324.1946/neotree.el index d7259ab7..0156cb9b 100644 --- a/elpa/neotree-20181121.2026/neotree.el +++ b/elpa/neotree-20200324.1946/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 "- ")) -- 2.47.3