From cb1dbada71545727b68df62b838f95bee6c2a1ad Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Tue, 9 Jun 2020 10:34:58 +0200 Subject: [PATCH] Added completions for sum and parenthesis. --- kalk_cli/src/repl.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kalk_cli/src/repl.rs b/kalk_cli/src/repl.rs index a101c82..f45a51c 100644 --- a/kalk_cli/src/repl.rs +++ b/kalk_cli/src/repl.rs @@ -92,6 +92,8 @@ const COMPLETION_FUNCS: phf::Map<&'static str, &'static str> = phf::phf_map! { "deg" => "°", "floor" => "⌊⌋", "ceil" => "⌈⌉", + "(" => "()", + "sum" => "Σ", }; impl Completer for RLHelper {