diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2022-12-18 14:01:47 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2022-12-18 14:04:17 +0200 |
commit | 6f88de109c837496003296d2b79b0d20c7c3b283 (patch) | |
tree | 0862bcd207707ad280c652de69a466c011809566 /lisp/net/tramp-archive.el | |
parent | 91dd893e343500b6e3de56aee0207d6f1f8e73bc (diff) | |
download | emacs-6f88de109c837496003296d2b79b0d20c7c3b283.tar.gz emacs-6f88de109c837496003296d2b79b0d20c7c3b283.tar.bz2 emacs-6f88de109c837496003296d2b79b0d20c7c3b283.zip |
ruby-mode: Support endless methods (bug#54702)
* lisp/progmodes/ruby-mode.el (ruby-endless-method-head-re):
New constant.
(ruby-smie-grammar): New token.
(ruby-smie--forward-token, ruby-smie--backward-token):
Recognize it.
(ruby-smie-rules): Indentation support.
(ruby-add-log-current-method): Support here too.
* test/lisp/progmodes/ruby-mode-tests.el
(ruby-add-log-current-method-after-endless-method): New test.
* test/lisp/progmodes/ruby-mode-resources/ruby.rb: New examples.
Diffstat (limited to 'lisp/net/tramp-archive.el')
0 files changed, 0 insertions, 0 deletions