[Haskell-cafe] Syntax highlight for numeric literals
takenobu.hs at gmail.com
Sun Jan 7 14:01:03 UTC 2018
Thank you for reply.
> I'm surprised that Emacs/haskell-mode is the only case where the 'exact'
version cannot be implemented. Do you know/can you explain why?
`font-lock` was a bit difficult for me :)
Haskell-mode highlights strings (e.g. constructor, type, ...) other than
(Numeric literals are not highlighted.)
In order to correct the highlights of numeric literals,
it seems necessary to accurately define highlights other than numeric
2018-01-07 22:09 GMT+09:00 Iustin Pop <iustin at k1024.org>:
> On 2018-01-05 14:34:28, Takenobu Tani wrote:
> > Dear cafe,
> > I wrote and pushed a bit about the syntax highlights of numeric literals
> > for `BinaryLiterals`, `HexFloatLiterals` and `NumericUnderscores`
> > extensions on editors.
> > https://github.com/takenobu-hs/haskell-numeric-highlight
> > I'm glad if this helps you.
> This is interesting, thanks. I'm surprised that Emacs/haskell-mode is
> the only case where the 'exact' version cannot be implemented. Do you
> know/can you explain why?
> thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe