diff options
Diffstat (limited to 'lisp/treesit.el')
| -rw-r--r-- | lisp/treesit.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index b71b5b486d5..297812f23f7 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el | |||
| @@ -1204,6 +1204,11 @@ See `treesit-simple-indent-presets'.") | |||
| 1204 | (cons 'grand-parent | 1204 | (cons 'grand-parent |
| 1205 | (lambda (_n parent &rest _) | 1205 | (lambda (_n parent &rest _) |
| 1206 | (treesit-node-start (treesit-node-parent parent)))) | 1206 | (treesit-node-start (treesit-node-parent parent)))) |
| 1207 | (cons 'great-grand-parent | ||
| 1208 | (lambda (_n parent &rest _) | ||
| 1209 | (treesit-node-start | ||
| 1210 | (treesit-node-parent | ||
| 1211 | (treesit-node-parent parent))))) | ||
| 1207 | (cons 'parent-bol (lambda (_n parent &rest _) | 1212 | (cons 'parent-bol (lambda (_n parent &rest _) |
| 1208 | (save-excursion | 1213 | (save-excursion |
| 1209 | (goto-char (treesit-node-start parent)) | 1214 | (goto-char (treesit-node-start parent)) |