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

pull/3079/head
leizhe 2021-11-05 07:29:53 +08:00 committed by Tienson Qin
parent 93e98bb382
commit 8143a0c6f6
1 changed files with 1 additions and 1 deletions

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 ""))