# Enhance icon detection for files with custom suffixes \(\#34170\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/6c1f19571a5647bff02ef98b7de159754a884504)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 6c1f19571a5647bff02ef98b7de159754a884504

Requested commit: 6c1f19571a5647bff02ef98b7de159754a884504

Commit: 6c1f19571a5647bff02ef98b7de159754a884504

Tree: 92ee82aac17632ed813614ffe567835fb3156222

Author: Gilmar Sales

Committer: GitHub

## Message

```
Enhance icon detection for files with custom suffixes (#34170)

Fixes custom file suffixes (module.ts) of some icon themes like: 

- **Symbols Icon Theme** 
<img width="212" alt="image"
src="https://github.com/user-attachments/assets/419ba1b4-9d8e-46cd-891b-62fb63a8c5ae"
/>

- **Bearded Icon Theme**
<img width="209" alt="image"
src="https://github.com/user-attachments/assets/72974fce-fa72-4368-8d96-7feea7b59b7a"
/>

Release Notes:

- Fixed icon detection for files with custom suffixes like `module.ts`
that are overwritten by the language's icon `.ts`
```

## Parents

- [23cd5b59b2682b82a1e96c20fb9f2c6347c97eee](https://git.cafe/gitcafe/zed/commit/23cd5b59b2682b82a1e96c20fb9f2c6347c97eee?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/6c1f19571a5647bff02ef98b7de159754a884504?format=markdown)
