From: Theodor Thornhill Date: Thu, 15 Dec 2022 13:54:17 +0000 (+0100) Subject: Add lambda_expression-rule to java-ts-mode (bug#60091) X-Git-Tag: emacs-29.0.90~1139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4a513344d9;p=emacs.git Add lambda_expression-rule to java-ts-mode (bug#60091) * lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): New rule. --- 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)