; ruby-smie--bosp: Fix the breakage

This commit is contained in:
Dmitry Gutov 2021-01-01 14:35:57 +02:00
parent 0273cb61a4
commit 3ea7cec4c0

View file

@ -403,8 +403,8 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
(not (eq (char-before (1- (point))) ?\\)))
(eq (char-before) ?\;)
(and (eq (char-before) ?=)
(eq (syntax-after (1- (point)))
(string-to-syntax "."))))))
(equal (syntax-after (1- (point)))
(string-to-syntax "."))))))
(defun ruby-smie--implicit-semi-p ()
(save-excursion