Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime text 3 Fira Code ligatures

Tags:

sublimetext3

Accordingly to this commit, ST3 has support for Fira Code ligatures, but I still don't see any changes. Obviously I have installed Fira code and have "font_face": "Fira Code", settings for this in my user settings file.

But my code still with default font, without ligatures. How I can fix it?

enter image description here

like image 309
WebArtisan Avatar asked Oct 30 '17 23:10

WebArtisan


People also ask

How do I use Fira code in Sublime Text 3?

Setting up Fira CodeAfter sublime text installing, now open it and hit cmd+, you will get Preferences. sublime-settings file. Add the following code to it. Thats it!


1 Answers

As mentioned on https://blog.sarav.co/installing-fira-code-ligatures-sublime-text-3-mac-os/. Ligature support on Sublime Text has been enabled from version 3156+.

Download Dev Version 3156

First head over to https://www.sublimetext.com/3dev and then download the latest Sublime Text dev version 3156+.

NOTE : Kindly note that dev versions is only available for licensed user and downloading dev version might break something.

If you have not installed Fira Code already, go to https://github.com/tonsky/FiraCode and download the zip from github and extract it. You’ll find the ttf folder under distr folder. Copy all the files and paste them over under /Users/<username>/Library/Fonts folder.

Finally, open the installed sublime text and hit cmd+, you will see Preferences.sublime-settings. Paste the following code there.

"font_face": "Fira Code", "font_options": [     "gray_antialias" ], 

Thats it! Now ligatures are enabled on your system. Enjoy :)

like image 67
Saravanan Sampathkumar Avatar answered Sep 22 '22 09:09

Saravanan Sampathkumar