emacs-devel
[Top][All Lists]
Advanced

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

Re: Can this indentation be achieved with treesit-simple-indent-rules?


From: Nicolás Ojeda Bär
Subject: Re: Can this indentation be achieved with treesit-simple-indent-rules?
Date: Tue, 20 Jun 2023 20:45:56 +0200

On Tue, Jun 20, 2023 at 6:59 PM Dmitry Gutov <dmitry@gutov.dev> wrote:
>
> See treesit-simple-indent-presets for the full list of predefined ones.
> And if none fit exactly, you can define a custom function with the same
> signature (or several) which can do more advanced calculations,
> lookarounds, etc.

I did some experiments defining ac custom ANCHOR and indeed it looks
like I should be able to cobble something together to achieve what I
want.

Thanks for the pointer!

Cheers,
Nicolas



reply via email to

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