Add treesit thing 'sexp-list' to c++-ts-mode (bug#73404)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings):
Add C++ 'sexp-list' nodes for 'treesit-thing-settings'.
This commit is contained in:
Juri Linkov 2024-12-24 19:39:30 +02:00
parent b061c01607
commit 563e5868f6

View file

@ -1170,7 +1170,18 @@ if `c-ts-mode-emacs-sources-support' is non-nil."
"initializer_list"
"subscript_designator"
"subscript_range_designator"
"string_literal")
"string_literal"
"system_lib_string"
;; C++
"template_parameter_list"
"structured_binding_declarator"
"template_argument_list"
"condition_clause"
"subscript_argument_list"
"requirement_seq"
"requires_parameter_list"
"lambda_capture_specifier"
"fold_expression")
'symbols))
;; compound_statement makes us jump over too big units
;; of code, so skip that one, and include the other