]> git.eshelyaron.com Git - emacs.git/commit
ruby-mode: Recognize instance or global var as first arg in parenless call
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 17 Dec 2022 01:30:52 +0000 (03:30 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 17 Dec 2022 01:31:11 +0000 (03:31 +0200)
commit1c0b90e5f7d74f5814da5c242213842be9f67a05
treebfe5d8888597378744e40ce58333db20a5817367
parent3356c0cb16359aa56d1db8446cff07f16519086d
ruby-mode: Recognize instance or global var as first arg in parenless call

* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p):
Recognize instance or global var as first arg in parenless call.

* test/lisp/progmodes/ruby-mode-resources/ruby.rb: Add example.
lisp/progmodes/ruby-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby.rb