From: Dmitry Gutov Date: Wed, 5 Apr 2023 00:00:57 +0000 (+0300) Subject: ruby-ts-mode: Add more constructs to treesit-sexp-type-regexp X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=830bf66dadbb4b9b9393ade53b890b5497bdf479;p=emacs.git 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). --- 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"