1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

Recognize iuwu-mod after an escaped newline

* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
newline is escaped.
(ruby-smie-rules): Indent iuwu-mod after an escaped newline
correctly.
This commit is contained in:
Dmitry Gutov 2016-03-06 23:18:06 +02:00
parent 6f7a57c708
commit 066f3bc3f3
2 changed files with 10 additions and 2 deletions

View file

@ -223,6 +223,9 @@ z = {
foo if
bar
fail "stuff" \
unless all_fine?
if foo?
bar
end