]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Rehash which nodes should be treated as sexps
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 28 Mar 2023 22:08:55 +0000 (01:08 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 28 Mar 2023 22:08:55 +0000 (01:08 +0300)
commit2002ac376c97382cace161ef0832a6faf6f376e8
treeb32425675f30e8e48c178aa0b82be58629e0ffab
parentcde38f0df3fa3540ce411a48d95da1c2f1be1b60
ruby-ts-mode: Rehash which nodes should be treated as sexps

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Recognize smaller
syntactic elements as sexps too (bug#62416).  Also do that for
heredocs, regexps and symbol arrays.  But drop binary expressions
(including assignments) since they led to non-intuitive behavior.
lisp/progmodes/ruby-ts-mode.el