fix: don't trigger commands auto-complete when paste

This commit is contained in:
Tienson Qin
2021-09-26 11:14:06 +08:00
parent ad5b4e0d44
commit 4e44d9839b
4 changed files with 26 additions and 21 deletions

View File

@@ -35,7 +35,7 @@
(-> (gdom/getElement "mock-text")
gdom/getChildren
array-seq
(nth pos)
(util/nth-safe (dec pos))
mock-char-pos
(assoc :rect rect))
(catch :default _e