]> git.eshelyaron.com Git - emacs.git/commit
Fix c-ts-mode indentation
authorYuan Fu <casouri@gmail.com>
Sun, 5 Mar 2023 23:01:54 +0000 (15:01 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 5 Mar 2023 23:01:54 +0000 (15:01 -0800)
commit7292b24c80143d697870a670963f136db375580b
tree75b99ee711fe97143bf92139b6effb055a94ae3d
parent75cdc1afbe5a649eed02cd186a38d40b3d0a4439
Fix c-ts-mode indentation

Not the subject of it, but mentioned in bug#61893.

* lisp/progmodes/c-ts-mode.el (c-ts-mode--anchor-prev-sibling): Skip
the sibling if it doesn't start on it's own line.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: New test.
lisp/progmodes/c-ts-mode.el
test/lisp/progmodes/c-ts-mode-resources/indent.erts