Programming Font Ligatures

Some programming fonts can draw several characters as one combined glyph. For example, an editor may display an operator-like sequence as a single visual symbol while the file still contains the original characters.

That display feature is called a ligature. It is a rendering choice, not a change to the program text.

Font Choice vs Ligature Toggle

Two settings are easy to mix up:

Setting Question it answers
Font family Which font should the editor use?
Ligature setting Should the editor enable the font's combined glyphs?

In VS Code, a font such as Fira Code is selected through editor.fontFamily. Ligatures are controlled separately through editor.fontLigatures.

{
  "editor.fontFamily": "'Fira Code'",
  "editor.fontLigatures": true
}

Set editor.fontLigatures to false when you want the font's normal character shapes but not its ligatures.

Trade-Off

Ligatures can make common programming symbols easier to scan for some people. They can also hide the fact that the source contains multiple characters, which may be distracting during teaching, debugging, or careful code review.

The durable rule is to treat ligatures as personal display preference. They should not affect formatting, version control, or what the compiler or interpreter sees.