unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier
@ 2023-01-02 12:50 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-01-02 22:30 ` 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 @ 2023-01-02 12:50 UTC (permalink / raw)
  To: 60492; +Cc: casouri

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


Hi Yuan,

Can you apply this?

Theo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-expression_statement-with-only-identifier-suppor.patch --]
[-- Type: text/x-patch, Size: 986 bytes --]

From a46a6863c3c3691d5d139432ff016c3c1f565fa9 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
Date: Mon, 2 Jan 2023 13:46:25 +0100
Subject: [PATCH] Add expression_statement with only identifier support

* lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings):
New query.
---
 lisp/progmodes/java-ts-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el
index 2d3ffccb3d0..87a4e2b90f8 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -240,7 +240,9 @@ java-ts-mode--font-lock-settings
      (method_invocation
       name: (identifier) @font-lock-function-name-face)
 
-     (argument_list (identifier) @font-lock-variable-name-face))
+     (argument_list (identifier) @font-lock-variable-name-face)
+
+     (expression_statement (identifier) @font-lock-variable-name-face))
 
    :language 'java
    :feature 'bracket
-- 
2.34.1


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

* bug#60492: 30.0.50; [PATCH]: Add expression_statement with only  identifier
  2023-01-02 12:50 bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-01-02 22:30 ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2023-01-02 22:30 UTC (permalink / raw)
  To: Theodor Thornhill; +Cc: 60492-done


Theodor Thornhill <theo@thornhill.no> writes:

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

Applied, thanks!

Yuan





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

end of thread, other threads:[~2023-01-02 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 12:50 bug#60492: 30.0.50; [PATCH]: Add expression_statement with only identifier Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-02 22:30 ` 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).