jming422 / fira-code-mode

Emacs minor mode for Fira Code ligatures using prettify-symbols

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't disable ligatures for "and" and "or"

ajvogel-motus opened this issue · comments

When I enable fira-code-mode I get ligatures for "and" and "or" even though they are added to the disabled ligatures list:

image

image

How can I disable these two ligatures?

Would you happen to be in python-mode? If so, it's python-mode adding those ligatures to the same Emacs variable used by fira-code-mode, and this should fix your issue: #15 (comment)

If you're not in python-mode when this happens, let me know and I'll dig deeper

You're right. That was the issue. Removed them from python-prettify-symbols-alist and it worked. Thanks.