How to put ties between syllables in lyrics

This can be achieved by separating those syllables by tildes.

\version "2.24.0"

\lyrics {
  wa~o~a 
}