fn spaces_per_tab(){ return 1; } fn status_bar() { let sb = ` ${file_name}:${y}:${x} | ${file_type} | ${line_count} Lines | HELLO`; return sb; } fn welcome_message(){ let wm = `Adit | version ${adit_version}`; return wm; } fn presave() { // Make this more usable later return ""; } fn on_start(){} fn on_key(){} fn filetype(file) { switch file { "rs" => { let name = "Rust"; return (name); } _ => { let name = "unknown"; return (name); } } }