Add \hardHyphen command
From the discussion in issue 6379, a proposal originated to ship this command for \hardHyphen
to create a non-collapsible hyphen in Lyrics:
\version "2.23.11"
hardHyphen = -\tweak minimum-distance 1 #(make-music 'HyphenEvent)
\layout {
line-length = 254\mm
}
<<
\new Voice = "A" { f'8 8 8 }
\new Lyrics \lyricsto "A" { through \hardHyphen com -- posed }
>>