Profpatsch

Results 462 comments of Profpatsch

Another update: Hasklig [seems to have moved to the FiraCode mechanism with 1.0 as well](https://github.com/i-tu/Hasklig/releases/tag/v1.0-beta). So getting this to work would give us two fonts to choose from.

Oh no. Maybe it can be patched?

Well, these fonts make the ligatures exactly as wide as the normal combinations, so it must support multi-width characters as well.

I implemented the visual spacing solution: https://github.com/Profpatsch/blog/blob/master/posts/ligature-emulation-in-emacs/post.md I only afterwards noticed that it’s not perfect, but it works fine for me right now with Hasklig. My idea would be to...

@root42 No, not really. But if you want one, go ahead. You have my blessing. :) It’s MIT-licensed anyway.

@honza Just copy the code verbatim, then `Spc f e R` or `Spc r R` if that does not work.

You forgot the code that adds it to the hooks that are called when you enable a mode. ```elisp ;; nice glyphs for haskell with hasklig (defun my-set-hasklig-ligatures () "Add...

Afaik inherits every mode from `fundamental-mode` and every programming language mode from `prog-mode`. So (maybe?) hooking it into one of these makes it work globally.

> http://www.modernemacs.com/post/lig-spacing/ Won’t that require support from language modes, who can tell you how many lines down spaces should be collapsed? The ligature code in this issue is all based...

@fosskers which version of Hasklig do you have installed? They changed the way ligatures worked after `1.0` I think, currently I use `1.1`.