]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode indentation (bug#75442)
authorYuan Fu <casouri@gmail.com>
Mon, 13 Jan 2025 06:23:36 +0000 (22:23 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 13 Jan 2025 12:12:04 +0000 (13:12 +0100)
commit1c1641fa32ceeaa24af5b7e27bbb815fbd14f582
treee7e055758011fec9e15e26b8fbfd89de8ac25b80
parentad04e844b42e41bd540a99dfa6a813d664aa30ab
Fix c-ts-mode indentation (bug#75442)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--simple-indent-rules):
Use standalone-parent instead of parent.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts:
New test.

(cherry picked from commit 04032cd00af7617c709140f3c80b5604b05c11e8)
lisp/progmodes/c-ts-mode.el
test/lisp/progmodes/c-ts-mode-resources/indent.erts