Can't get `denote.el` fontification on Dired
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*
### Expected behavior
When entering in `denote-directory` with Dired, I expected to see the Denote file name fontification (an example of this can be seen in the [Denote's demo video](https://www.youtube.com/watch?v=mLzFJcLpDFI&t=114s))
### Current behavior
I do not get error messages in the `*Messages*` buffer, but I do not get the fontification, as can be seen in the screenshot below

### Steps to reproduce
1. Install `denote` package
2. Configure the package with
```elisp
(use-package! denote
:config
(setq denote-directory (expand-file-name "~/Documents/denote/"))
(add-hook 'dired-mode-hook #'denote-dired-mode-in-directories))
```
3. Create a Denote file (`denote-create-note`)
4. Enter the specified `denote-directory` with Dired
### System Information
https://pastebin.com/6nAn9Q6s
Contributor guide
Assessment
This issue has not been assessed yet.