4 ms·
It's an absolutely useless feature but I love it too :) There's a Vim plugin called Haskell cuteness that does the same for Haskell code but unfortunately it d
by exDM69 15y ago
It's an absolutely useless feature but I love it too :)
There's a Vim plugin called Haskell cuteness that does the same for Haskell code but unfortunately it didn't work very well.
- gwern 15y agoWe actually stole that Yi feature from Emacs ('pretty-lambda', I think it was called.)
- gaius 15y agoAh, cool, found it: http://www.emacswiki.org/emacs/PrettySymbolsForLanguages http://www.emacswiki.org/emacs/PrettySymbolsForLanguages
- radicality 15y agoIf you are using Vim >= 7.3, you can use the vim conceal feature which works as described, but without any messy hacks! For Haskell, here ( https://github.com/vim-scripts/Haskell-Conceal https://github.com/vim-scripts/Haskell-Conceal ) is a plugin that works quite well, although the lambda symbol does not seem to appear for me, and the resulting glyphs don't flow nicely with the rest of my font. It's still kind of nice!
- exDM69 15y agoThanks for the tip!