]> git.eshelyaron.com Git - emacs.git/commitdiff
ruby-ts-mode: Recognize more nodes as sexps
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 3 Apr 2023 20:39:41 +0000 (23:39 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 3 Apr 2023 20:39:41 +0000 (23:39 +0300)
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Argument
treesit-sexp-type-regexp with interpolation, instance_variable,
global_variable (bug#62086, bug#62416).

lisp/progmodes/ruby-ts-mode.el

index 1a085b669eed8d5fc433c51ec627749645cb144e..262d989cd444429afd7269c1b984a3dac7d101e2 100644 (file)
@@ -1138,6 +1138,9 @@ leading double colon is not added."
                       "heredoc_body"
                       "regex"
                       "argument_list"
+                      "interpolation"
+                      "instance_variable"
+                      "global_variable"
                       )
                   eol))