Skip to content

Commit

Permalink
[Icons] Add ClojureDart icon.
Browse files Browse the repository at this point in the history
Why?:
- ClojureDart is a new and coming dialect of Clojure. Thus its files should have
  the same icon as other Clojure files.

This change addresses the need by:
- Add "cljd" as additional Clojure file extension
  • Loading branch information
Tobias Heinlein authored and Alexander-Miller committed Nov 13, 2024
1 parent 1f4e7f1 commit 2fd7745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elisp/treemacs-icons.el
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Necessary since root icons are not rectangular."
(treemacs-create-icon :file "asciidoc.png" :extensions ("adoc" "asciidoc"))
(treemacs-create-icon :file "rust.png" :extensions ("rs"))
(treemacs-create-icon :file "image.png" :extensions ("jpg" "jpeg" "bmp" "svg" "png" "xpm" "gif"))
(treemacs-create-icon :file "clojure.png" :extensions ("clj" "cljs" "cljc" "edn"))
(treemacs-create-icon :file "clojure.png" :extensions ("clj" "cljs" "cljc" "cljd" "edn"))
(treemacs-create-icon :file "ts.png" :extensions ("ts" "tsx"))
(treemacs-create-icon :file "vue.png" :extensions ("vue"))
(treemacs-create-icon :file "css.png" :extensions ("css" "rasi"))
Expand Down Expand Up @@ -575,7 +575,7 @@ be assigned which treemacs icon, for example
icon))))

(treemacs-only-during-init
(treemacs-load-theme "Default"))
(treemacs-load-theme "Default"))

(provide 'treemacs-icons)

Expand Down

0 comments on commit 2fd7745

Please sign in to comment.