From 3b0baddce90fea248ee599b775608a6bcd7506e7 Mon Sep 17 00:00:00 2001 From: sh-zam <32485569+sh-zam@users.noreply.github.com> Date: Thu, 15 Sep 2022 16:54:34 +0530 Subject: [PATCH] Use proper icons for expanded/unexpanded nodes Now it looks like this: https://i.imgur.com/bDgHDSN.png and this I think is consistent with some GUI packages like Qt: https://i.stack.imgur.com/Ua7ef.jpg --- ccls-tree.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccls-tree.el b/ccls-tree.el index 2746010..37280b4 100644 --- a/ccls-tree.el +++ b/ccls-tree.el @@ -170,7 +170,7 @@ "◀ " "") (if (ccls-tree-node-has-children node) - (if (ccls-tree-node-expanded node) "▶ " "▼ ") + (if (ccls-tree-node-expanded node) "▼ " "▶ ") (if (eq number (- nchildren 1)) "└╸" "├╸"))))) (concat padding (propertize symbol 'face 'ccls-tree-icon-face))))