fix: auto-complete doesn't valish after /current time

pull/3250/head
Tienson Qin 2021-11-23 17:03:19 +08:00
parent 98fd5c2397
commit eb66d456ed
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
(reset! commands/*current-command command)
(let [command-steps (get (into {} matched) command)
restore-slash? (or
(contains? #{"Today" "Yesterday" "Tomorrow"} command)
(contains? #{"Today" "Yesterday" "Tomorrow" "Current time"} command)
(and
(not (fn? command-steps))
(not (contains? (set (map first command-steps)) :editor/input))