|
From: | Stefan Monnier |
Subject: | Re: emacs-tree-sitter and Emacs |
Date: | Mon, 30 Mar 2020 13:50:33 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> (setq-local indent-line-function #'tree-sitter-indent-line) And if you want this change to be easily reversible: (add-function :override (local 'indent-line-function) #'tree-sitter-indent-line) so you can undo it later with (remove-function (local 'indent-line-function) #'tree-sitter-indent-line) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |