aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/java-ts-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/java-ts-mode.el')
-rw-r--r--lisp/progmodes/java-ts-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el
index cf2482bb6ee..2c42505ac94 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -301,7 +301,8 @@ the subtrees."
301 ;; Comments. 301 ;; Comments.
302 (setq-local comment-start "// ") 302 (setq-local comment-start "// ")
303 (setq-local comment-end "") 303 (setq-local comment-end "")
304 (setq-local comment-start-skip (rx (group "/" (or (+ "/") (+ "*"))) 304 (setq-local comment-start-skip (rx (or (seq "/" (+ "/"))
305 (seq "/" (+ "*")))
305 (* (syntax whitespace)))) 306 (* (syntax whitespace))))
306 (setq-local comment-end-skip 307 (setq-local comment-end-skip
307 (rx (* (syntax whitespace)) 308 (rx (* (syntax whitespace))