]> git.eshelyaron.com Git - emacs.git/commit
typescript-ts-mode: Support indentation for conditionals without braces
authorNoah Peart <noah.v.peart@gmail.com>
Tue, 21 Nov 2023 13:59:48 +0000 (15:59 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Tue, 21 Nov 2023 14:26:54 +0000 (16:26 +0200)
commit9af03e0e1897bce2fce71b79549d4461d7ea1dad
tree4f2903b14f6543c23f50ddd758f30b16a7c91635
parent61cdf42a48fab24b7ee4098ffedf7254080f808b
typescript-ts-mode: Support indentation for conditionals without braces

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Support indentation for
conditionals without braces (bug#67031).

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
(Statement indentation without braces): New test.
lisp/progmodes/typescript-ts-mode.el
test/lisp/progmodes/typescript-ts-mode-resources/indent.erts