aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2017-08-03 20:08:49 -0400
committerEduardo Julian2017-08-03 20:08:49 -0400
commitc94372370a129c8b8ebc94cca2a9e4aefd71d646 (patch)
treebca316781c50ab2e22b5bbeafd8c4c63f1e54039 /lux-mode
parentf04c3f0ecbb0b94c6931b268a12ca431f3ecdc53 (diff)
- Added "on:" syntax for spaces.
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index 029786a3e..f93281d44 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -219,7 +219,7 @@ Called by `imenu--generic-function'."
"sig:" "struct:" "context:" "template:"
"class:" "interface:"
"poly:" "derived:"
- "actor:" "message:"
+ "actor:" "message:" "on:"
"exception:"
"word:"
"model:"
@@ -345,7 +345,7 @@ This function also returns nil meaning don't specify the indentation."
(1+ (current-column)))
((or (eq method 'defun)
(and (null method)
- (> (length function) 3)
+ (> (length function) 2)
(string-match "\\`\\(?:\\S +/\\)?\\(\\w+:\\|\\(\\w*;\\)?with-\\)"
function)))
(lisp-indent-defform state indent-point))