]> git.eshelyaron.com Git - emacs.git/commit
Add indentation for multi-line string in java-ts-mode (bug#75154)
authorYuan Fu <casouri@gmail.com>
Fri, 14 Feb 2025 02:23:43 +0000 (18:23 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 17 Mar 2025 11:06:05 +0000 (12:06 +0100)
commit53ac01d0afdb3e6b45896f20f0abf72cae2a868b
tree4569d6500c343bf7f6157c01cda14291b5a2b026
parent3020ff5ae9dbe5f5c8d5bb8079e42ca1e7f31e5c
Add indentation for multi-line string in java-ts-mode (bug#75154)

* lisp/progmodes/java-ts-mode.el:
(java-ts-mode--first-line-on-multi-line-string): New function.
(java-ts-mode--indent-rules): Add rules.

(cherry picked from commit affb2ba77b4a7ec7c000b18cc5c30d237e1b7165)
lisp/progmodes/java-ts-mode.el