]> git.eshelyaron.com Git - emacs.git/commit
Fix label indent of GNU and Linux style in c-ts-mode (bug#60543)
authorYuan Fu <casouri@gmail.com>
Mon, 9 Jan 2023 00:57:29 +0000 (16:57 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 9 Jan 2023 04:32:51 +0000 (20:32 -0800)
commit1238fa8e49bdb12db66d856dcb4b192db5d026ff
treee8334c26272b6eb235d5ce665a25d204759a8058
parentdc911e4ba5ccfc99d66504b6e99c9abcf3e617f3
Fix label indent of GNU and Linux style in c-ts-mode (bug#60543)

The previous fix isn't correct.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): New indent rule.  Fix the rule for Linux
style.
(c-ts-mode--top-level-label-matcher): New function.
lisp/progmodes/c-ts-mode.el