|
From: | João Paulo Labegalini de Carvalho |
Subject: | Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter) |
Date: | Tue, 13 Dec 2022 12:46:13 -0700 |
I will repurpose two functions, treesit-beginning-of-defun/end, and make treesit-major-mode-setup set them up automatically. I’m thinking about remapping beginning/end-of-defun to their tree-sitter counterparts in (current-local-map), in treesit-major-mode-setup. That way major modes don’t need to explicitly bind tree-sitter functions in their keymaps.
[Prev in Thread] | Current Thread | [Next in Thread] |