rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Character sequence 'fi' rendered as single unicode 'fi' (U+FB01) #304

Closed sfuller closed 6 years ago

sfuller commented 7 years ago

When typing any text with the sequence fi in a buffer, the fi sequence will render as a single character unicode . This causes all the following characters in the line to be incorrectly rendered in the wrong columns.

I am not sure of any other sequences which cause this.

Sometimes you need to select the text a bit to get this issue to appear, but in the codebase I am editing this issue occurs immediately after opening a file.

screen shot 2016-10-26 at 12 42 42 pm
sfuller commented 7 years ago

TIL these are called ligatures. The font I'm using supports them, so when redrawing the sequence 'fi', it renders a single fi ligature.