You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
case expression of
pattern -> expression
otherwise -> expression
uses -> instead of →
(2)
+tab = ${1:pattern} -> expression
\ is missing and ${1:pattern} must be selected manually to be rewritten
(3)
Would you mind adding unicode lambda? λ p -> p instead of \ p -> p
Do you know any font, in which unicode chars like → ⤜ ← ∷ ↢ etc. look better then-> >>- <- :: -<?
Okay, (2) fixed. I'm not too keen on (1) and (3), since using unicode characters requires UnicodeSyntax GHC extension. So defaulting to those doesn't seem like a particularly good idea. You could probably override those yourself if you want to, since those are just predefined snippets. Add your snippets for .source.haskell scope and you should be good.
As for font, I'm using FiraCode, which has ligatures for most special operators. Those mostly look better than unicode equivalents. I'm not aware of any monospace fonts that have nice-looking unicode characters compared to ligatures.
Activity
lierdakil commentedon Jul 10, 2016
Okay, (2) fixed. I'm not too keen on (1) and (3), since using unicode characters requires
UnicodeSyntaxGHC extension. So defaulting to those doesn't seem like a particularly good idea. You could probably override those yourself if you want to, since those are just predefined snippets. Add your snippets for.source.haskellscope and you should be good.As for font, I'm using FiraCode, which has ligatures for most special operators. Those mostly look better than unicode equivalents. I'm not aware of any monospace fonts that have nice-looking unicode characters compared to ligatures.