aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2023-04-03 23:39:41 +0300
committerDmitry Gutov2023-04-03 23:39:41 +0300
commitbd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e (patch)
tree8d42095d090b7ab33706875a23b2b4b068324e36
parent0275c54ca80124f8a6e3a9823844b9ee131443cc (diff)
downloademacs-bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e.tar.gz
emacs-bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e.zip
ruby-ts-mode: Recognize more nodes as sexps
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Argument treesit-sexp-type-regexp with interpolation, instance_variable, global_variable (bug#62086, bug#62416).
-rw-r--r--lisp/progmodes/ruby-ts-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el
index 1a085b669ee..262d989cd44 100644
--- a/lisp/progmodes/ruby-ts-mode.el
+++ b/lisp/progmodes/ruby-ts-mode.el
@@ -1138,6 +1138,9 @@ leading double colon is not added."
1138 "heredoc_body" 1138 "heredoc_body"
1139 "regex" 1139 "regex"
1140 "argument_list" 1140 "argument_list"
1141 "interpolation"
1142 "instance_variable"
1143 "global_variable"
1141 ) 1144 )
1142 eol)) 1145 eol))
1143 1146