On Tue, Dec 13, 2022 at 11:56 AM Yuan Fu wrote: > 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. > That would be great. A very clean solution IMO. -- João Paulo L. de Carvalho Ph.D Computer Science | IC-UNICAMP | Campinas , SP - Brazil Postdoctoral Research Fellow | University of Alberta | Edmonton, AB - Canada joao.carvalho@ic.unicamp.br joao.carvalho@ualberta.ca