adit/assets/config.rhai

29 lines
411 B
Plaintext
Raw Normal View History

2023-09-15 21:29:27 -05:00
fn status_bar() {
2023-09-15 21:35:27 -05:00
let sb = `${file_name}:${y}:${x} | ${file_type} | ${line_count} Lines`;
2023-09-15 21:29:27 -05:00
return sb;
}
2023-09-15 22:16:34 -05:00
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);
}
}
}