I wanted to know if there is a way to let latexindent know that tblr is a tabular environment by the package tabularray which means that the content should be aligned at &.
I could only manage to get the correct indent and alignment by changing the tblr environment to a tabular environment temporarily and then after latexindent ran over the tabular I changed it back to tblr.
Example how it should look like.

More examples (with working tabular NOT tblr):
Latexindent can do the alignment for tabular and I would like to know how I can configure or add tblr to be aligned at & the same as tabular works.


tabularcan be done withtblrtoo.tabularortblrbut rather aboutlatexindentwhich is perl script for indenting your latex document. There is no real MWE because the perl-script works on the.tex-file.tabular. You need to ask how to change it that be more versatile. What is benefit to uselatextindent?VS Codiumas an IDE for LaTeX and I have a shortcut to automatically uselatexindent. It just indents the whole document to the standard indentation and is useful for alignment in e.g.alignenvironments ortabulars. It is more of a convenience thing that I can press a shortcut and the document is ‚cleaned up‘ in the source code.