|
From: | Jorge Javier Araya Navarro |
Subject: | Re: emacs-tree-sitter and Emacs |
Date: | Mon, 30 Mar 2020 11:34:24 -0600 |
> I see, so in your opinion having a central engine won't be a bad
> architecture design for Emacs despite major modes having their own engine.
On the contrary: moving indentation to tree-sitter would be of great benefit.
> I wonder: is possible for any other package to "take the wheel" from major
> modes when it comes to indentation
I think it's a simple matter of
(setq-local indent-line-function #'tree-sitter-indent-line)
-- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |