tonsky / FiraCode

Free monospaced font with programming ligatures
SIL Open Font License 1.1
77.26k stars 3.1k forks source link

.- ligature not working properly #1214

Open zendevil opened 3 years ago

zendevil commented 3 years ago

I'm trying to use the .- ligature in clojure. When I use it without attaching it to any text it works fine. But when I attach it with text, it doesn't work. How to fix this such that the ligature works even when it is attached to text?

Screen Shot 2021-03-12 at 3 42 11 PM
tonsky commented 3 years ago

What editor is this? Is syntax set to Clojure?

zendevil commented 3 years ago

This is spacemacs. How to set the syntax to clojure?

tonsky commented 3 years ago

Emacs is not natively supported, but people managed to make Fira Code work anyways https://github.com/tonsky/FiraCode/wiki/Emacs-instructions

I suppose something in replacement code is interfering with the ligature in that case. Unfortunately I can’t help you with this, maybe someone from the readers can. Or you might try looking in the code yourself

andrejp88 commented 6 months ago

I am getting a similar issue both in VSCode and in CSS. Oddly enough, it's only broken if followed by a lowercase letter.

VSCode: Screenshot_20240506_010432

Vivaldi with the ligature enabled in CSS following these instructions: Screenshot_20240506_011419

tonsky commented 6 months ago

Interesting! Might be a but. I’ll take a look