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:
parent
aca5064f12
commit
407e85ce13
1 changed files with 3 additions and 1 deletions
|
@ -1155,7 +1155,9 @@ BEG and END are described in `treesit-range-rules'."
|
||||||
"struct_specifier"
|
"struct_specifier"
|
||||||
"enum_specifier"
|
"enum_specifier"
|
||||||
"union_specifier"
|
"union_specifier"
|
||||||
"class_specifier"
|
;; Make sure this doesn't match
|
||||||
|
;; storage_class_specifier.
|
||||||
|
"^class_specifier$"
|
||||||
"namespace_definition")
|
"namespace_definition")
|
||||||
(and c-ts-mode-emacs-sources-support
|
(and c-ts-mode-emacs-sources-support
|
||||||
'(;; DEFUN.
|
'(;; DEFUN.
|
||||||
|
|
Loading…
Add table
Reference in a new issue