aboutsummaryrefslogtreecommitdiff
path: root/lux-mode/lux-mode.el
diff options
context:
space:
mode:
authorEduardo Julian2017-04-30 14:28:23 -0400
committerEduardo Julian2017-04-30 14:28:23 -0400
commitba40f6cdc7d92283e29021eff116e2e51f1c9f28 (patch)
treef3ea8d8485a4cb34967e6ef459e536d3c11f67ca /lux-mode/lux-mode.el
parent30bb331cc73aecdcf7a9fa000a9747412541af2f (diff)
- Added <|. to syntax highlights.
- Fixed an indentation bug for "with-" macros.
Diffstat (limited to '')
-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 bce620ee9..0dc38676d 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -219,7 +219,7 @@ Called by `imenu--generic-function'."
"function" "case" ":" ":!" ":!!" "undefined" "ident-for"
"and" "or"
"exec" "let" "let%" "if" "cond" "do" "be" "open" "loop" "recur" "comment" "list" "list&" "io" "vector" "tree"
- "get@" "set@" "update@" "|>" "|>." "<|" "_$" "$_" "~" "~@" "~'" "::" ":::" "default"
+ "get@" "set@" "update@" "|>" "|>." "<|" "<|." "_$" "$_" "~" "~@" "~'" "::" ":::" "default"
"|" "&" "->" "All" "Ex" "Rec" "host" "$" "type"
"^" "^or" "^slots" "^=>" "^~" "^@" "^template" "^open" "^|>" "^stream&" "^regex"
"bin" "oct" "hex"
@@ -340,7 +340,7 @@ This function also returns nil meaning don't specify the indentation."
((or (eq method 'defun)
(and (null method)
(> (length function) 3)
- (string-match "\\`\\(?:\\S +/\\)?\\(\\w+:\\|with-\\)"
+ (string-match "\\`\\(?:\\S +/\\)?\\(\\w+:\\|\\(\\w+;\\)?with-\\)"
function)))
(lisp-indent-defform state indent-point))
((integerp method)