mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
enhance: only apply DWIM to list item when cursor at EOL
This commit is contained in:
@@ -2421,7 +2421,8 @@
|
||||
(when (thingatpt/get-setting :properties?)
|
||||
(thingatpt/properties-at-point input))
|
||||
(when (thingatpt/get-setting :list?)
|
||||
(thingatpt/list-item-at-point input)))]
|
||||
(and (cursor/end-of-line? input) ;; only apply DWIM when cursor at EOL
|
||||
(thingatpt/list-item-at-point input))))]
|
||||
(cond
|
||||
thing-at-point
|
||||
(case (:type thing-at-point)
|
||||
|
||||
Reference in New Issue
Block a user