[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nginx-mode 74c2a078e9 4/5: Merge pull request #21 from ryu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nginx-mode 74c2a078e9 4/5: Merge pull request #21 from ryuslash/indent-closing-brace-with-comment-fix |
Date: |
Fri, 12 Apr 2024 01:00:08 -0400 (EDT) |
branch: elpa/nginx-mode
commit 74c2a078e9cb8093e6ca805bb320a7dbf2f36efc
Merge: e9c268cd94 5a39466285
Author: Andrew J. Cosgriff <andrew@cosgriff.name>
Commit: GitHub <noreply@github.com>
Merge pull request #21 from ryuslash/indent-closing-brace-with-comment-fix
Allow anything to follow a closing brace at start of line
---
nginx-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nginx-mode.el b/nginx-mode.el
index d63733250a..1589d50601 100644
--- a/nginx-mode.el
+++ b/nginx-mode.el
@@ -96,7 +96,7 @@ of the closing brace of a block."
(block-indent (nginx-block-indent))
cur-indent)
(cond
- ((and (looking-at "^\\s-*}\\s-*$") block-indent)
+ ((and (looking-at "^\\s-*}") block-indent)
;; This line contains a closing brace and we're at the inner
;; block, so we should indent it matching the indentation of
;; the opening brace of the block.
- [nongnu] elpa/nginx-mode updated (6e9d96f58e -> c4ac5de975), ELPA Syncer, 2024/04/12
- [nongnu] elpa/nginx-mode 0dd70cf398 2/5: Fix indentation of closing braces, ELPA Syncer, 2024/04/12
- [nongnu] elpa/nginx-mode c4ac5de975 5/5: update version to 1.1.10, and mention use-package, ELPA Syncer, 2024/04/12
- [nongnu] elpa/nginx-mode 5a39466285 1/5: Allow anything to follow a closing brace at start of line, ELPA Syncer, 2024/04/12
- [nongnu] elpa/nginx-mode 74c2a078e9 4/5: Merge pull request #21 from ryuslash/indent-closing-brace-with-comment-fix,
ELPA Syncer <=
- [nongnu] elpa/nginx-mode e9c268cd94 3/5: Merge pull request #22 from ryuslash/indent-closing-brace-with-first-line-comment-fix, ELPA Syncer, 2024/04/12