fix(dwim): disable remove empty property line for later fix

This commit is contained in:
leizhe
2021-10-09 11:12:28 +08:00
committed by Tienson Qin
parent e432a397bb
commit ce8c79b68b

View File

@@ -2383,12 +2383,13 @@
(cursor/move-cursor-to-line-end input))
;; when cursor in empty property key
(and property-key (= property-key ""))
(do (delete-and-update
input
(cursor/line-beginning-pos input)
(cursor/line-end-pos input))
(cursor/move-cursor-to-line-end (inc (:end thing-at-point)))))
;; (and property-key (= property-key ""))
;; (do (delete-and-update
;; input
;; (cursor/line-beginning-pos input)
;; (cursor/line-end-pos input))
;; (cursor/move-cursor-to-line-end (inc (:end thing-at-point))))
)
:else
;;When cursor in other place of PROPERTIES drawer, add :|: in a new line and move cursor to |