Skip to content

Emacs composition table generator for Fira Code ligatures

Notifications You must be signed in to change notification settings

boystrange/EmacsFiraCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Emacs composition table generator for Fira Code ligatures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published