projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30692f1
)
ruby-ts-mode: Add more constructs to treesit-sexp-type-regexp
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 5 Apr 2023 00:00:57 +0000
(
03:00
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 5 Apr 2023 00:00:57 +0000
(
03:00
+0300)
* 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ruby-ts-mode.el
b/lisp/progmodes/ruby-ts-mode.el
index 6a7326af61dc2b314d4921039cd4804a7c5f43fc..ddf2ee98c3bd84ff16c515e3345a2b7d484ae991 100644
(file)
--- 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"