Skip to content

Conversation

@igneus
Copy link
Collaborator

@igneus igneus commented Nov 22, 2025

As a follow-up to the (not-so-)recent conversation on the mailing list I think it's useful to have an executable description of what the ly reformat command does.

Internally it calls ly.reformat.reformat(), behavior of which depends on presence/absence of newlines in individual code blocks. The discussed example

\version "2.24.4" \score { \new Staff \relative { c''4 c c c } }

contains no newlines => no reformatting takes place. If some newline is inserted, result of the reformatting differs based on where the newline is/are placed.

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.

1 participant