]> git.eshelyaron.com Git - emacs.git/commit
Add typescript-ts-mode indentation for multi-assignment decls
authorNoah Peart <noah.v.peart@gmail.com>
Fri, 19 Apr 2024 08:46:50 +0000 (01:46 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Jun 2024 09:52:40 +0000 (11:52 +0200)
commit30be0083674d7dc6770d3611908e9219488ee869
tree947995ace32ca3242f98170066c4090958ae1561
parent50f0abae8898083a967bfc24d5ed105c16a052b5
Add typescript-ts-mode indentation for multi-assignment decls

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Add indentation rules for
lexical and variable declarations with multiple assignments.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts:
Add indent test for variable declarations (bug#68054).

(cherry picked from commit ce5d004b5b093842d9c46976c50453015fe1a7e7)
lisp/progmodes/typescript-ts-mode.el
test/lisp/progmodes/typescript-ts-mode-resources/indent.erts