]> git.eshelyaron.com Git - emacs.git/commit
Fix Ruby indentation with double splat as first block param
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 26 Apr 2022 02:36:35 +0000 (05:36 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 26 Apr 2022 02:36:35 +0000 (05:36 +0300)
commit39646c822bf9a3fb1ccdca0a7a5d192e607c03c3
tree0c04c878357ccd860f82b06e7ef54af106e8410f
parent4a837b0c721c9680d8fc88d49d6c1805e279f284
Fix Ruby indentation with double splat as first block param

* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
(ruby-smie--backward-token): Tokenize "**" separately from "|".
Problem reported at https://github.com/dgutov/robe/issues/136.
lisp/progmodes/ruby-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby.rb