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 d392a5d3c1
)
This commit is contained in:
parent
bc56da92d8
commit
14819131ff
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue