Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve assigning trivia after attributes #951

Merged
merged 8 commits into from
Jul 8, 2020
Merged

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Jul 7, 2020

Fixes #949

The main idea is that we count how many lines there are between a SynAttributeList and the parent node (or the next SynAttributeList). If there are gaps, it means trivia will need to be assigned as content after.

@nojaf nojaf requested a review from jindraivanek July 7, 2020 21:13
@nojaf nojaf merged commit d894f63 into fsprojects:master Jul 8, 2020
@nojaf nojaf deleted the fix-949 branch July 8, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional new line inserted around attributes.
2 participants