From 830bf66dadbb4b9b9393ade53b890b5497bdf479 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 5 Apr 2023 03:00:57 +0300 Subject: [PATCH] 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" -- 2.39.5