Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Support multiline YARD comments #234

Merged
merged 1 commit into from
Feb 4, 2021
Merged

Conversation

cbothner
Copy link
Contributor

@cbothner cbothner commented Jun 1, 2018

Description of the Change

YARD allows comments to extend over multiple lines provided that the subsequent lines are indented (within the comment) at least two spaces from the tag. This change extends the YARD-specific comment highlighting onto those subsequent lines.

Alternate Designs

None

Benefits

Before, confusing and hard to read:
screen shot 2018-06-01 at 15 45 10

After, easy to read and nice looking:
screen shot 2018-06-01 at 15 45 36

Possible Drawbacks

None that I can think of

Applicable Issues

Closes #228

YARD allows comments to extend over multiple lines provided that the
subsequent lines are indented (within the comment) at least two spaces
from the tag. This change extends the YARD-specific comment highlighting
onto those subsequent lines.
@darangi darangi merged commit dd2de8e into atom:master Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiline YARD highlighting for tag–comment styles
2 participants