[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-tree-sitter and Emacs

From: Jorge Javier Araya Navarro
Subject: Re: emacs-tree-sitter and Emacs
Date: Mon, 30 Mar 2020 11:34:24 -0600

I'm so ready to start a new branch in emacs-tree-sitter jaja

thanks for the tips, I will come back if anything comes.

El lun., 30 de mar. de 2020 a la(s) 11:22, Stefan Monnier (address@hidden) escribió:
> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]