emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode 6781ef1 220/352: Fix #11673, bad indent after c


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 6781ef1 220/352: Fix #11673, bad indent after comments ending in =
Date: Sun, 29 Aug 2021 11:22:49 -0400 (EDT)

branch: elpa/julia-mode
commit 6781ef19d499bd9ec4e98e6159291f3cb7ff18d1
Author: Dan Schmidt <dfan@dfan.org>
Commit: Yichao Yu <yyc1992@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

[Prev in Thread] Current Thread [Next in Thread]