From 3d3bbaace692384a895ec55ff7e5a91ad66463bb Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Tue, 21 Mar 2023 23:27:20 -0700 Subject: [PATCH] Align concatenated strings to the first sibling in c-ts-mode * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Change rule. --- lisp/progmodes/c-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el index f70869c10bb..e2705462025 100644 --- a/lisp/progmodes/c-ts-mode.el +++ b/lisp/progmodes/c-ts-mode.el @@ -386,7 +386,7 @@ MODE is either `c' or `cpp'." ((parent-is "function_definition") 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") parent-bol c-ts-mode-indent-offset) + ((parent-is "concatenated_string") first-sibling 0) ((parent-is "comma_expression") first-sibling 0) ((parent-is "init_declarator") parent-bol c-ts-mode-indent-offset) ((parent-is "parenthesized_expression") first-sibling 1) -- 2.39.2