Unfortunately, this is not possible, as there are no directives in the API or in color schemes for dealing with font size at that level of granularity.
However, it is possible to provide additional highlighting to your color scheme (.tmTheme
file) so that function definitions stand out. It looks like you're using Monokai, so open Packages/Color Scheme - Default/Monokai.tmTheme
and add the following to the end, just before the final </array>
:
<dict>
<key>name</key>
<string>Function definition</string>
<key>scope</key>
<string>meta.function</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#000080</string>
</dict>
</dict>
This will highlight your function definition lines in a dark blue:
It also works for alternate function definition syntaxes:
Good luck!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…