]> git.eshelyaron.com Git - emacs.git/commit
Fix label indentation for Linux style in c-ts-mode (bug#60543)
authorYuan Fu <casouri@gmail.com>
Sun, 8 Jan 2023 02:11:03 +0000 (18:11 -0800)
committerYuan Fu <casouri@gmail.com>
Sun, 8 Jan 2023 02:44:16 +0000 (18:44 -0800)
commit73168793c015d3da6b21bc96db784f9ef9225cbb
tree01ab8e7c8f409d326c3f3c1d97e8da6c9159d27a
parent8575043f56b6b09001d53657f91eb2bb706e802a
Fix label indentation for Linux style in c-ts-mode (bug#60543)

Reference:
1. https://www.gnu.org/software/indent/manual/indent/Common-styles.html
2. https://www.gnu.org/software/indent/manual/indent/Option-Summary.html

The GNU indent manual says Linux style should use -il1 flag, which
means "indent labels to column 1".

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Indent label
to column 1 in Linux style.
lisp/progmodes/c-ts-mode.el