Subject: bug#68054: [PATCH] Add tree-sitter indent rule for lexical decls in js/typescript

From: Eli Zaretskii <[email-masked]>
Date: Sat, 18 May 2024 11:29:57 +0300

> Cc: Yuan Fu <[email-masked]>, [email-masked]
> From: Noah Peart <[email-masked]>
> Date: Thu, 2 May 2024 06:38:57 -0700
> 
> > js-ts-mode now has the exact same indentation
> 
> I'm not sure what you meant by this - did you mean js-ts-mode has
> the same indentation for non-multivar declarations as the examples
> shown above? js-ts-mode is still missing indentation rules for multiple decl statements.
> The patch would work for js-ts-mode as well, but I didn't want to copy the
> code between the files. 
> 
> So much of the grammar is shared between js-ts-mode and
> typescript-ts-mode, it might be worth combining - neovim uses an ecma grammar
> from which they both inherit.

Not sure what is the conclusion here.  Are there any objections to
installing Noah's last patch?