Changing chord separator

The separator between different parts of a chord name can be set to any markup.

\version "2.24"

\chords {
  c:7sus4
  \set chordNameSeparator = \markup { \typewriter | }
  c:7sus4
}