Open wedens opened 5 years ago
I think the problem is that when prettify-symbols-mode
tries to re-fontify the symbol, it doesn't have context (and =>
seems to be fontified contextually):
(apply #'font-lock-flush prettify-symbols--current-symbol-bounds)
With
(setq prettify-symbols-unprettify-at-point 'right-edge)
prettified symbol loses itsface
property after the cursor is placed on it:There is no such issue in other major modes, so it must be something happening in scala-mode specifically.
My setup is basically the same as https://github.com/hlissner/doom-emacs/blob/develop/modules/ui/pretty-code/%2Bfira.el#L6
Emacs 27.0.50 scala-mode 56cba29