Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.12 KB

EmacsFiraCode

What it is

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.

Easy setup

For those who want to enable (almost) all the ligatures:

  1. Refer to the workaround described here.
  2. Load fira-code-ligatures.el from - or embed it in - your .emacs configuration file.
  3. Restart Emacs, open the file ligatures.txt and check whether the ligatures show up correctly.

Custom setup

In case you want to add new ligatures or remove unwanted ones:

  1. Update ligatures.txt by removing the lines with the unwanted ligatures or by adding new ones.
  2. Make sure you have GHC installed, run make to compile ligs.hs and obtain the updated composition table.
  3. Go to step 2 in the previous section.