Fix c++-ts-mode indentation (bug#67975)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Make indent rule match precise so it doesn't match declaration_list.
This commit is contained in:
parent
d386a8aa43
commit
d220893216
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ MODE is either `c' or `cpp'."
|
|||
|
||||
((parent-is "function_definition") parent-bol 0)
|
||||
((parent-is "pointer_declarator") parent-bol 0)
|
||||
((parent-is "declaration") parent-bol 0)
|
||||
((parent-is ,(rx bos "declaration" eos)) parent-bol 0)
|
||||
((parent-is "conditional_expression") first-sibling 0)
|
||||
((parent-is "assignment_expression") parent-bol c-ts-mode-indent-offset)
|
||||
((parent-is "concatenated_string") first-sibling 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue