auctex
[Top][All Lists]
Advanced

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

Re: Indenting the code written in square brackets as optional parameters


From: Sašo Živanović
Subject: Re: Indenting the code written in square brackets as optional parameters
Date: Wed, 16 Mar 2022 14:21:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2

Looks good to me as well, and looking forward to test it.
Thanks!
Sašo

Arash Esbati je 16. 03. 22 ob 11:37 napisal:
Hi Keita,

Ikumi Keita <ikumi@ikumi.que.jp> writes:

I think the attached patch works as expected. My approach is to include
only additional delimiters in new user options, since braces "{" and "}"
should always be considered to pull in indentation.

To try indent inside square brackets, include
(setq TeX-indent-open-delimiters "[")
(setq TeX-indent-close-delimiters "]")
somewhere in your init.el.

If this proposal is acceptable, I can commit it the git repo

Thanks for working on this.  Your patch LGTM, please go ahead and
install it.  I will then install my change for indentation of
conditionals on top of it.

and I'd appreciate if someone could write suitable paragraphs to
include in .texi documentation ;-) .

Let's wait and see ;-)

Best, Arash



reply via email to

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