fix: add missing parameter

This commit is contained in:
Tienson Qin
2021-04-15 15:19:27 +08:00
parent 11d1de6aa3
commit 87f666cbae

View File

@@ -2056,7 +2056,7 @@
(defn indent-on-tab
([state]
(indent-on-tab state 100))
([state]
([state retry-limit]
(if (= :insert (state/get-editor-op))
(if (> retry-limit 0)
(js/setTimeout #(indent-on-tab state (dec retry-limit)) 20)