]> git.eshelyaron.com Git - emacs.git/commit
java-ts-mode: Indentation for opening brace on a separate line
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 17 Feb 2024 20:34:55 +0000 (22:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:35:04 +0000 (18:35 +0100)
commitd775417cc089bed523bd02ce7ce5c9d3c9053aeb
tree4a3edd3c547bbade2f4f48ae530fd14dad5cc95e
parentc3314dd8319caf81ca16f565ed580a53f61bfc7d
java-ts-mode: Indentation for opening brace on a separate line

* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules):
Support putting the opening brace on a separate line (bug#67556).

* test/lisp/progmodes/java-ts-mode-resources/indent.erts:
Add a test.

(cherry picked from commit 5a64d2c7595dc393504c6eee9321d74dbd8ae9e2)
lisp/progmodes/java-ts-mode.el
test/lisp/progmodes/java-ts-mode-resources/indent.erts