From bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 3 Apr 2023 23:39:41 +0300 Subject: [PATCH] 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). --- lisp/progmodes/ruby-ts-mode.el | 3 +++ 1 file changed, 3 insertions(+) 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." "heredoc_body" "regex" "argument_list" + "interpolation" + "instance_variable" + "global_variable" ) eol)) -- 2.39.2