diff options
author | Yuan Fu <casouri@gmail.com> | 2023-09-05 20:12:19 -0700 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-09-07 08:07:25 +0300 |
commit | 14819131fffd76fc6630f02ab53663419628f7d9 (patch) | |
tree | df77ce281c800c1ee80bd440dcabd5a4e3307d85 /lisp | |
parent | bc56da92d8df806ff9ec66be70920d98e0ef5b42 (diff) | |
download | emacs-14819131fffd76fc6630f02ab53663419628f7d9.tar.gz emacs-14819131fffd76fc6630f02ab53663419628f7d9.tar.bz2 emacs-14819131fffd76fc6630f02ab53663419628f7d9.zip |
Fix c-ts-mode BSD style indentation
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles):
Add else_clause.
(cherry picked from commit d392a5d3c11b7e7479d31421f8237f29952c909e)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/c-ts-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index 34a89b4dcad..48d1fb09089 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -478,6 +478,7 @@ MODE is either `c' or `cpp'." ((parent-is "labeled_statement") parent-bol c-ts-mode-indent-offset) ((parent-is "compound_statement") parent-bol c-ts-mode-indent-offset) ((parent-is "if_statement") parent-bol 0) + ((parent-is "else_clause") parent-bol 0) ((parent-is "for_statement") parent-bol 0) ((parent-is "while_statement") parent-bol 0) ((parent-is "switch_statement") parent-bol 0) |