fn status_bar() { let sb = `${file_name}:${y}:${x} | ${file_type} | ${line_count} Lines`; return sb; } fn welcome_message(){ let wm = `Adit | version ${adit_version}`; return wm; } fn on_start(){ } fn filetype(file){ switch file { "rs" => { let name = "Rust"; return (name); } _ => { let name = "unknown"; return (name); } } }