This is a small Haskell program that automatically generates the Emacs composition table for the Fira Code font. The original composition table was handcrafted by Sean Farley and extended by Jason Blevins.
For those who want to enable (almost) all the ligatures:
- Refer to the workaround described here.
- Load fira-code-ligatures.el from - or
embed it in - your
.emacs
configuration file. - Restart Emacs, open the file ligatures.txt and check whether the ligatures show up correctly.
In case you want to add new ligatures or remove unwanted ones:
- Update ligatures.txt by removing the lines with the unwanted ligatures or by adding new ones.
- Make sure you have GHC installed, run
make
to compile ligs.hs and obtain the updated composition table. - Go to step 2 in the previous section.