branch: elpa/nasm-mode
commit 2a5768a36c124399a9b535e145bc5a6652b3bde3
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@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