emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bd5c1d1cbbd: ruby-ts-mode: Recognize more nodes as sexps


From: Dmitry Gutov
Subject: master bd5c1d1cbbd: ruby-ts-mode: Recognize more nodes as sexps
Date: Mon, 3 Apr 2023 16:40:06 -0400 (EDT)

branch: master
commit bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]