branch: elpa/typst-ts-mode commit 07c6de2c4607bac8bb5baea731f5f12a748be3e6 Author: Huan Thieu Nguyen <nguyenthieuh...@gmail.com> Commit: Huan Thieu Nguyen <nguyenthieuh...@gmail.com>
doc: clarify with comment what this is #33 --- typst-ts-editing.el | 1 + 1 file changed, 1 insertion(+) diff --git a/typst-ts-editing.el b/typst-ts-editing.el index 02dde90631..a1badb2e6e 100644 --- a/typst-ts-editing.el +++ b/typst-ts-editing.el @@ -62,6 +62,7 @@ Return the heading node when yes otherwise nil." Otherwise nil." (treesit-parent-until (treesit-node-at + ;; do not be at last column (if (and (eolp) (/= (current-column) 0)) (1- (point)) (point)))