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

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

[nongnu] elpa/nasm-mode 2a5768a 16/67: Indent commented code differently


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode 2a5768a 16/67: Indent commented code differently.
Date: Sun, 29 Aug 2021 11:23:44 -0400 (EDT)

branch: elpa/nasm-mode
commit 2a5768a36c124399a9b535e145bc5a6652b3bde3
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Indent commented code differently.
---
 nasm-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index 49d067d..db9a492 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -452,7 +452,9 @@
     (back-to-indentation)
     (if (or (looking-at (nasm--opt nasm-directives))
             (looking-at (nasm--opt nasm-pp-directives))
-            (looking-at "[[;]")
+            (looking-at "\\[")
+            (looking-at ";+\\s-+")
+            (looking-at ";+$")
             (looking-at nasm-label-regexp))
         (indent-line-to 0)
       (indent-line-to nasm-basic-offset))



reply via email to

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