Some other plugins achieve something similar, like vimtex, which replaces some expressions in math blocks with their unicode representation.
For example, this expression
transforms into the following when the cursor is not over that line
Since in haskell lambda expressions we use \ because of its similarities with λ, I thought we might as well make \ look like λ in the same way vimtex transforms the \sum into ∑.
To be honest, I don't know how difficult this would be to implement, and I understand that some people might prefer not to use this feature. But as an opt-in option, I think it might be worth it.
Some other plugins achieve something similar, like
vimtex
, which replaces some expressions in math blocks with their unicode representation.For example, this expression
transforms into the following when the cursor is not over that line
Since in haskell lambda expressions we use
\
because of its similarities withλ
, I thought we might as well make\
look likeλ
in the same wayvimtex
transforms the\sum
into∑
.To be honest, I don't know how difficult this would be to implement, and I understand that some people might prefer not to use this feature. But as an opt-in option, I think it might be worth it.