]> git.eshelyaron.com Git - emacs.git/commitdiff
Align concatenated strings to the first sibling in c-ts-mode
authorYuan Fu <casouri@gmail.com>
Wed, 22 Mar 2023 06:27:20 +0000 (23:27 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 22 Mar 2023 06:27:20 +0000 (23:27 -0700)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Change rule.

lisp/progmodes/c-ts-mode.el

index f70869c10bb6ee7078c6d17d20e09e8c9fa86d51..e2705462025e3846a2b6ee9c210881e318cc104d 100644 (file)
@@ -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)