dracula / emacs

🧛🏻‍♂️ Dark theme for Emacs
https://draculatheme.com/emacs
MIT License
330 stars 87 forks source link

Dracula theme for Emacs does not customize font-lock-number-face #96

Closed josteink closed 1 year ago

josteink commented 1 year ago

As the title says.

Once Dracula-theme is activated, font-lock-number-face remains uncustomized.

This is inconsistent with how this is done ie in the VSCode implementation where numbers receive the same fontification as built in keywords.

Dracula theme is a great theme, so we should fix this 🙂

milouse commented 1 year ago

I may be wrong, but font-lock-number-face does not exist https://www.gnu.org/software/emacs/manual/html_node/elisp/Faces-for-Font-Lock.html

Maybe it comes with a specific module? Or are you using a specific version of Emacs (pre-release, spacemacs…)?

josteink commented 1 year ago

It's part of Emacs 29, to be released, and used quite consistently in the new tree-sitter based major-modes:

image

milouse commented 1 year ago

Here is the list of new font-lock faces added by the next version:

milouse commented 1 year ago

For the following new faces, I took inspiration from vscode implementation

The others are left untouched for now as default value seems ok

josteink commented 1 year ago

Awesome. Thanks!