aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_emacs.d/lisp/beluga/beluga-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_emacs.d/lisp/beluga/beluga-mode.el b/dot_emacs.d/lisp/beluga/beluga-mode.el
index ef33b8b..2e25d6c 100644
--- a/dot_emacs.d/lisp/beluga/beluga-mode.el
+++ b/dot_emacs.d/lisp/beluga/beluga-mode.el
@@ -1078,7 +1078,7 @@ Return the starting position of the short pragma; else, nil."
(shell-quote-argument buffer-file-name))))
(set (make-local-variable 'comment-start) "%")
(set (make-local-variable 'comment-start-skip) "%[%{]*[ \t]*")
- (set (make-local-variable 'comment-end-skip) "[ \t]*\\(?:\n\\|}%\\)")
+ (set (make-local-variable 'comment-end-skip) "[ \t]*\\(?:\n\\|}+%\\)")
(comment-normalize-vars)
(set (make-local-variable 'electric-indent-chars)
(append '(?|) (if (boundp 'electric-indent-chars)