branch: elpa/julia-mode
commit 6781ef19d499bd9ec4e98e6159291f3cb7ff18d1
Author: Dan Schmidt <d...@dfan.org>
Commit: Yichao Yu <yyc1...@gmail.com>

    Fix #11673, bad indent after comments ending in =
---
 julia-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 43f97b5..407c8b6 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -396,7 +396,8 @@ before point. Returns nil if we're not within nested 
parens."
                    (progn
                      (forward-line -1)
                      (end-of-line) (backward-char 1)
-                     (equal (char-after (point)) ?=)))
+                     (and (equal (char-after (point)) ?=)
+                          (not (julia-in-comment)))))
               (+ julia-basic-offset (current-indentation))
             nil)))
       ;; Indent according to how many nested blocks we are in.

Reply via email to