]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Indentation fixes
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 3 Jan 2023 00:26:00 +0000 (02:26 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 3 Jan 2023 00:26:00 +0000 (02:26 +0200)
commit94e330243e14200ba6b45e696e6a80c611438dec
tree95e3e5f4a0dfab59b22d6ec8e58caa13c3fc9272
parent9b24417dda83087edb5b8bb5d2daf158c70b4193
ruby-ts-mode: Indentation fixes

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--align-keywords):
Fix for 'def' (which was misread as 'method' in the check).
(ruby-ts--indent-rules): Indent the curly block closer the same
way as the 'do ... end' closer.
lisp/progmodes/ruby-ts-mode.el