summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--nginx-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx-mode.el b/nginx-mode.el
index b01367c..c612719 100644
--- a/nginx-mode.el
+++ b/nginx-mode.el
@@ -112,7 +112,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.