[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 563e5868f6d: Add treesit thing 'sexp-list' to c++-ts-mode (bug#73
From: |
Juri Linkov |
Subject: |
master 563e5868f6d: Add treesit thing 'sexp-list' to c++-ts-mode (bug#73404) |
Date: |
Tue, 24 Dec 2024 12:39:54 -0500 (EST) |
branch: master
commit 563e5868f6dbab59937ad247b45b488f5523ad3c
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
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'.
---
lisp/progmodes/c-ts-mode.el | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 90e73260b9b..5537439004e 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 563e5868f6d: Add treesit thing 'sexp-list' to c++-ts-mode (bug#73404),
Juri Linkov <=