Closed 2kays closed 1 year ago
Thanks for raising it. They're intentionally different implementations and I've no real plan to ensure parity with Emacs's. (Indeed, people can freely use that one if they prefer it.) It's simply a matter of taste more than anything, I think.
Moving to a newline is only going to work for things like def
and class
but it would not for lambda
for instance. And I rather purposefully want to avoid having rules for one defun over another; it's just a bit messy.
This is minor but worth documenting, as Combobulate drops in its own end-of-defun on top of treesit's.
Combobulate's
combobulate-navigate-end-of-defun
(C-M-e
) does not behave exactly liketreesit-end-of-defun
(and Emacs'end-of-defun
in Lispier modes).Given initial buffer state:
combobulate-navigate-end-of-defun
takes us here:Whereas,
treesit-end-of-defun
takes us here:GNU Emacs 30.0.50 (master)
, Combobulatemaster@5806ad7