mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Add constructor_declaration as java-ts-mode defun
* lisp/progmodes/java-ts-mode.el (java-ts-mode): Extend treesit-defun-type-regexp.
This commit is contained in:
parent
72c45fa910
commit
48a62c5546
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,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)
|
||||
|
||||
;; Font-lock.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue