You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matching icons is something that happens a lot, so treemacs keeps the algorithm as simple as possible. To get the icon for a file treemacs will first look at the entire filename. If it finds nothing it looks at the file's extension, which is defined as anything after the name's last period.
If you want to change that behavior you can look at treemacs-file-extension-regex.
The dir-open & -closed is a fairly new feature. I've added some documentation for it (in the admittedly very large readme).
I'm trying to set a custom icon for files like
*.actions.ts
Is there some kind of wildcard, or a way to match against regex?
This is my latest attempt, but it doesn't match files like
login.actions.ts
orcore.actions.ts
.For context, the rest of my config. Everything besides
reducers.ts
,state.ts
,selectors.ts
andactions.ts
works perfectly.I'm new to lisp and Emacs in general, but I took me a while to figure out that
foldername-open/close
is something that would work.The text was updated successfully, but these errors were encountered: