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

Only render multiline-comments as descriptions #92

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

infinisil
Copy link
Collaborator

This should not render the "Some text":

# Some
# text
{
  foo = ...;
}

Only this should:

/*
  Some
  text
*/
{
  foo = ...;
}

This aligns with single-line comments being ignored for functions too.

Ping @phaer, since it was originally introduced in #70

This should not render the "Some text":

  # Some
  # text
  {
    foo = ...;
  }

Only this should:

  /*
    Some
    text
  */
  {
    foo = ...;
  }

This aligns with single-line comments being ignored for functions too.
@infinisil infinisil mentioned this pull request Nov 18, 2023
@infinisil infinisil merged commit fdea4a5 into master Nov 18, 2023
@infinisil infinisil deleted the description-multiline-only branch November 18, 2023 22:26
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.

2 participants