]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode indentation after if/else (bug#67417)
authorYuan Fu <casouri@gmail.com>
Mon, 27 Nov 2023 01:42:51 +0000 (17:42 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 27 Nov 2023 01:42:51 +0000 (17:42 -0800)
commitdab7cc241f426af3c9fe901954fe48e415dcf75a
tree759bd6a4a57d2764dc05dc1d48ae0dce0cf18efc
parentf8d9dc26c78366e1f2de9dd847fe4744f607748d
Fix c-ts-mode indentation after if/else (bug#67417)

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--prev-line-match): New function.
(c-ts-mode--indent-styles): Add a rule for the empty line after
if/else/for/etc.
lisp/progmodes/c-ts-mode.el