From f4a513344d95badf2b75b0577016edcdd9ea5fbe Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Thu, 15 Dec 2022 14:54:17 +0100 Subject: [PATCH] Add lambda_expression-rule to java-ts-mode (bug#60091) * lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): New rule. --- lisp/progmodes/java-ts-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el index 559a4efef25..9da2c254f87 100644 --- a/lisp/progmodes/java-ts-mode.el +++ b/lisp/progmodes/java-ts-mode.el @@ -86,6 +86,7 @@ ((parent-is "method_invocation") parent-bol java-ts-mode-indent-offset) ((parent-is "switch_rule") parent-bol java-ts-mode-indent-offset) ((parent-is "ternary_expression") parent-bol java-ts-mode-indent-offset) + ((parent-is "lambda_expression") parent-bol java-ts-mode-indent-offset) ((parent-is "element_value_array_initializer") parent-bol java-ts-mode-indent-offset) ((parent-is "function_definition") parent-bol 0) ((parent-is "conditional_expression") first-sibling 0) -- 2.39.2