flow control keywords are now highlighted purple

This commit is contained in:
2026-02-24 16:22:59 -05:00
parent 59b8925de3
commit fee45145c8
3 changed files with 30 additions and 11 deletions

View File

@@ -432,9 +432,9 @@ impl Display for ShErrKind {
Self::FileNotFound(file) => &format!("File not found: {file}"),
Self::CmdNotFound(cmd) => &format!("Command not found: {cmd}"),
Self::CleanExit(_) => "",
Self::FuncReturn(_) => "",
Self::LoopContinue(_) => "",
Self::LoopBreak(_) => "",
Self::FuncReturn(_) => "Syntax Error",
Self::LoopContinue(_) => "Syntax Error",
Self::LoopBreak(_) => "Syntax Error",
Self::ReadlineIntr(_) => "",
Self::ReadlineErr => "Readline Error",
Self::ClearReadline => "",