unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60091: 30.0.50; [PATCH] Add lambda_expression rule to java-ts-mode
@ 2022-12-15 13:56 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-12-16  3:27 ` Yuan Fu
  0 siblings, 1 reply; 2+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-12-15 13:56 UTC (permalink / raw)
  To: 60091; +Cc: casouri

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]


Hi Yuan,

Can you apply this one?

Theo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-lambda_expression-rule-to-java-ts-mode.patch --]
[-- Type: text/x-diff, Size: 1121 bytes --]

From aff3aa5fb0d2ad84d21df8155e913d0fc7cf1337 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Thu, 15 Dec 2022 14:54:17 +0100
Subject: [PATCH] Add lambda_expression-rule to java-ts-mode

* 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 ac591a0859..a0c818e0dd 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -86,6 +86,7 @@ java-ts-mode--indent-rules
      ((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.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#60091: 30.0.50; [PATCH] Add lambda_expression rule to  java-ts-mode
  2022-12-15 13:56 bug#60091: 30.0.50; [PATCH] Add lambda_expression rule to java-ts-mode Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-12-16  3:27 ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2022-12-16  3:27 UTC (permalink / raw)
  To: Theodor Thornhill; +Cc: 60091-done


Theodor Thornhill <theo@thornhill.no> writes:

> Hi Yuan,
>
> Can you apply this one?
>
> Theo

My pleasure. Applied and pushed.

Yuan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-16  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 13:56 bug#60091: 30.0.50; [PATCH] Add lambda_expression rule to java-ts-mode Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-16  3:27 ` Yuan Fu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).