Fix c++-ts-mode defun navigation (bug#65885)

* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Add BOL and EOL marker
in the regexp.
This commit is contained in:
Yuan Fu 2024-04-08 21:07:11 -07:00
parent aca5064f12
commit 407e85ce13
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -1155,7 +1155,9 @@ BEG and END are described in `treesit-range-rules'."
"struct_specifier"
"enum_specifier"
"union_specifier"
"class_specifier"
;; Make sure this doesn't match
;; storage_class_specifier.
"^class_specifier$"
"namespace_definition")
(and c-ts-mode-emacs-sources-support
'(;; DEFUN.