Fork me on GitHub
#emacs
<
2020-07-25
>
jhacks16:07:27

@iagwanderson I’m using Doom Emacs, which uses https://github.com/Fanael/highlight-numbers for highlighting numbers (not just for clojure)

bartuka16:07:17

thanks @jhacks. I am creating a custom theme and I wanted to colorize only the numbers, I am using the font-lock-add-keywords for now with a regexp, but seems this is the correct approach. I think I will just rely on highlight-numbers package and change its face inside the theme

bartuka16:07:53

they already cover lots of corner cases

jhacks16:07:54

@iagwanderson yeah, it’s a good package, no issues for me so far. Good luck with the theme, I hope you’ll post a link to it here if you’re sharing it