fix(DWIM): cursor jumps to drawer end if enter at property key

This commit is contained in:
leizhe
2021-11-05 07:29:53 +08:00
committed by Tienson Qin
parent 93e98bb382
commit 8143a0c6f6

View File

@@ -2370,7 +2370,7 @@
[:p.content
(util/format "Property key \"%s\" already exists!" property-key)]
:error)
(cursor/move-cursor-to-end input)))
(cursor/move-cursor-to-line-end input)))
;; when cursor in empty property key
(and property-key (= property-key ""))