]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode indentation
authorYuan Fu <casouri@gmail.com>
Mon, 6 Feb 2023 01:05:21 +0000 (17:05 -0800)
committerYuan Fu <casouri@gmail.com>
Tue, 7 Feb 2023 02:28:40 +0000 (18:28 -0800)
commit7cb92b5398771b088450942d9eaefd53b5f91cf6
treecf429b602cf1080232d83e364fc234c715455784
parentd68ff6016d0ca011b5bf0fd05578fe1abb2e53a9
Fix c-ts-mode indentation

Turns out I shouldn't have removed the explicit rules.  Anyway, now it
indents properly.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Add rules.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: Add tests
lisp/progmodes/c-ts-mode.el
test/lisp/progmodes/c-ts-mode-resources/indent.erts