aboutsummaryrefslogtreecommitdiff
path: root/lux-mode/lux-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lux-mode/lux-mode.el')
-rw-r--r--lux-mode/lux-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index a98a7a472..a56ea3360 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -544,11 +544,12 @@ This function also returns nil meaning don't specify the indentation."
(last
(split-string (substring-no-properties function) "\\.")))))
(setq method (get (intern-soft function-tail) 'lux-indent-function))
- (cond ((member (char-after open-paren) '(?\{ ?\[))
+ (cond ((member (char-after open-paren) '(?\[ ;; ?\{
+ ))
(goto-char open-paren)
(1+ (current-column)))
((or (eq method 'defun)
- (and (null method)
+ (and (null method)
(> (length function) 2)
(or (string-match withRE function-tail)
(string-match definitionRE function-tail))))