summaryrefslogtreecommitdiff
path: root/lisp/progmodes/java-ts-mode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-01-15 13:08:02 +0100
committerStefan Kangas <stefankangas@gmail.com>2023-01-15 13:08:02 +0100
commitcc576cc410fd7567d6b22c0e80debfd835593847 (patch)
tree5acafa81bbaf1e8b41cb1cc6368d25ca79661347 /lisp/progmodes/java-ts-mode.el
parent77ca6aa56e3425c87861cab8abce52bee3697cf4 (diff)
parent920a7d38e96134289393b7bfcc3a7b88be73925b (diff)
downloademacs-cc576cc410fd7567d6b22c0e80debfd835593847.tar.gz
emacs-cc576cc410fd7567d6b22c0e80debfd835593847.tar.bz2
emacs-cc576cc410fd7567d6b22c0e80debfd835593847.zip
Merge from origin/emacs-29
920a7d38e96 ; Fix typos 48a62c55465 Add constructor_declaration as java-ts-mode defun 72c45fa9109 Further improvement for non-string values in pcomplete 1ef359095ec ; * etc/NEWS (--with-native-compilation=aot): Tweak wording. a8eb9dd4006 Fix the case in first-completion revealed by minibuffer-t... # Conflicts: # doc/misc/modus-themes.org # etc/NEWS
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 eac052ca4f1..83c437d307b 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -316,7 +316,8 @@ Return nil if there is no name or if NODE is not a defun node."
"enum_declaration"
"import_declaration"
"package_declaration"
- "module_declaration")))
+ "module_declaration"
+ "constructor_declaration")))
(setq-local treesit-defun-name-function #'java-ts-mode--defun-name)
(setq-local treesit-sentence-type-regexp