You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently (well, not really, it's been several months) ST python syntax was updated. Among other, the following change was introduced that looks quite unexpected: first docstring line now gets comment.block.documentation.summary.python scope (after generic source.python, only two scopes in total). This results in first line being gray-colored, like usual # comment.
I added the following style for myself (the color here matches the color of triple quotes around docstring):
deffoo() ->int:
"""Do something very important."""defbar(x):
"""And even more important. This means we'll even have to explain, probably. Like this. """defbaz():
""" And even if I'm too long, I'm still the Most Important Line, but below. And I am not any more. """defqux():
""" And any linebreak matters. So I'm next line and do not have a separate scope. """
(and thanks for this theme! It's really brilliant, I can't look at most other themes after discovering this one)
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! Do you know approximately when the change was introduced? I'd like to look into its history.
At any rate, let me push out a new version of Neon with this change. There might be a couple others as well, I haven't done a release in a little while...
Recently (well, not really, it's been several months) ST python syntax was updated. Among other, the following change was introduced that looks quite unexpected: first docstring line now gets
comment.block.documentation.summary.python
scope (after genericsource.python
, only two scopes in total). This results in first line being gray-colored, like usual#
comment.I added the following style for myself (the color here matches the color of triple quotes around docstring):
Examples:
(and thanks for this theme! It's really brilliant, I can't look at most other themes after discovering this one)
The text was updated successfully, but these errors were encountered: