For special syntax settings for the target language, in the Packages > User folder, create a file with the name of this language.
ex. for PHP , create php.sublime-settings .
and add the following code to it:
{ "font_face": "Source Code Pro" }
For JavaScript create JavaScript.sublime-settings file names, etc.
In addition, using this method, you can set different color schemes for different languages ββusing the color_scheme attribute.
{ "font_face": "Source Code Pro", "color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme" }
Alternatively, if the target language file is open, you can go to Preferences > Settings - More > Syntax Specific - User and add the font_face parameter.
source share