* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
after `=' is probably a new expression.
This commit is contained in:
parent
ca7e59d46c
commit
c8c605ac9c
3 changed files with 11 additions and 1 deletions
|
@ -334,7 +334,7 @@ explicitly declared in magic comment."
|
|||
|
||||
(defun ruby-smie--bosp ()
|
||||
(save-excursion (skip-chars-backward " \t")
|
||||
(or (bolp) (eq (char-before) ?\;))))
|
||||
(or (bolp) (memq (char-before) '(?\; ?=)))))
|
||||
|
||||
(defun ruby-smie--implicit-semi-p ()
|
||||
(save-excursion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue