[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 830bf66dadb: ruby-ts-mode: Add more constructs to treesit-sexp-ty
From: |
Dmitry Gutov |
Subject: |
master 830bf66dadb: ruby-ts-mode: Add more constructs to treesit-sexp-type-regexp |
Date: |
Tue, 4 Apr 2023 20:01:21 -0400 (EDT) |
branch: master
commit 830bf66dadbb4b9b9393ade53b890b5497bdf479
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
ruby-ts-mode: Add more constructs to treesit-sexp-type-regexp
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Add more
constructs to treesit-sexp-type-regexp (bug#62086).
---
lisp/progmodes/ruby-ts-mode.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el
index 6a7326af61d..ddf2ee98c3b 100644
--- a/lisp/progmodes/ruby-ts-mode.el
+++ b/lisp/progmodes/ruby-ts-mode.el
@@ -1121,9 +1121,13 @@ leading double colon is not added."
"array"
"hash"
"parenthesized_statements"
+ "method_parameters"
+ "array_pattern"
+ "hash_pattern"
"if"
"unless"
"case"
+ "case_match"
"when"
"block"
"do_block"
@@ -1132,8 +1136,8 @@ leading double colon is not added."
"identifier"
"constant"
"simple_symbol"
- "symbol_array"
"hash_key_symbol"
+ "symbol_array"
"string"
"string_array"
"heredoc_body"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 830bf66dadb: ruby-ts-mode: Add more constructs to treesit-sexp-type-regexp,
Dmitry Gutov <=