]> git.eshelyaron.com Git - emacs.git/commit
Use c-ts-common-statement-offset for closing brackets too
authorYuan Fu <casouri@gmail.com>
Thu, 2 Feb 2023 22:57:41 +0000 (14:57 -0800)
committerYuan Fu <casouri@gmail.com>
Fri, 3 Feb 2023 02:28:08 +0000 (18:28 -0800)
commita2b77c79dcca64b5e0ae58862206e7cc29640944
treee33883212bc815c21b26cb827205717aa561c337
parent74e715cb72900143cd9c2f8c58edb88431941d85
Use c-ts-common-statement-offset for closing brackets too

Merge c-ts-mode--close-bracket-offset into
c-ts-common-statement-offset.

* lisp/progmodes/c-ts-common.el:
(c-ts-common-statement-offset): Handle closing brackets too.
(c-ts-mode--close-bracket-offset): Remove function.
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Use
c-ts-common-statement-offset for closing brackets.
lisp/progmodes/c-ts-common.el
lisp/progmodes/c-ts-mode.el