Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - visually replace the \ in lambda expressions to λ #130

Open
ayhon opened this issue Aug 15, 2021 · 0 comments
Open

Feature request - visually replace the \ in lambda expressions to λ #130

ayhon opened this issue Aug 15, 2021 · 0 comments

Comments

@ayhon
Copy link

ayhon commented Aug 15, 2021

Some other plugins achieve something similar, like vimtex, which replaces some expressions in math blocks with their unicode representation.

For example, this expression
image

transforms into the following when the cursor is not over that line

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant