fn init_parser() -> tree_sitter::Parser {
    try_init_parser().unwrap_or_else(|lang_err| {
        panic!(
            "Error initialising tree-sitter parser with ditto language: {}",
            lang_err
        )
    })
}
// Panic if the parser fails to initialise, as this really shouldn't happen.
Panic if the parser fails to initialise, as this really shouldn't happen.
Panic if the parser fails to initialise as this really shouldn ' t happen .
fn init_parser() -> tree_sitter::Parser {
    try_init_parser().unwrap_or_else(|lang_err| {
        panic!(
            "Error initialising tree-sitter parser with ditto language: {}",
            lang_err
        )
    })
}
fn init_parser ( ) -> tree_sitter :: Parser { try_init_parser ( ) . unwrap_or_else ( | lang_err | { panic ! ( " " lang_err ) } ) }
Panic if the parser fails to initialise, as this really shouldn't happen.
Panic if the parser fails to initialise as this really shouldn ' t happen .