[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))
- [nongnu] elpa/nasm-mode 02c2450 40/67: Assume things that start with dot are labels., (continued)
- [nongnu] elpa/nasm-mode 02c2450 40/67: Assume things that start with dot are labels., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 3992726 42/67: Add nasm-join-line keybinding (M-^)., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 2fe823c 43/67: Adjust nasm-mode to remap join-line specifically., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode c3f5475 48/67: Bump to 1.1.0., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode f53b2c5 56/67: Create a formal TODO list, ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 5110886 64/67: Add type specification to nasm-basic-offset, ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 96a06c0 65/67: Support M-; (comment-dwim function), ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 65ca654 67/67: make comment functions local, ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode b384240 04/67: Include prefixes in smart indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 3da1454 12/67: Add a docstring to nasm-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 2a5768a 16/67: Indent commented code differently.,
ELPA Syncer <=
- [nongnu] elpa/nasm-mode f357905 19/67: Fix up README., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode a715d4e 22/67: Use sharp quote in call-interactively., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 9f05280 23/67: Adjust package description., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode e641c8a 24/67: Flesh out a little more commentary., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode f62c103 25/67: Add preprocessor directives:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 2940e4f 27/67: Run all regexp-opt at compile time (faster loads)., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 6e208d5 29/67: Indent single-commented lines differently., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode e015f41 30/67: Split out types, like word, dword, qword, etc., ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 42ee760 32/67: Allow to change faces used by nasm-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/nasm-mode 2259c7d 34/67: Properly distinguish word and symbol constituents., ELPA Syncer, 2021/08/29