aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2017-06-26 19:40:30 -0400
committerEduardo Julian2017-06-26 19:40:30 -0400
commit7d4d05bd4949e6281c3e2bdc4dad553da4b33bda (patch)
tree7935bb7e6a74f08d39ebc2a20c33b86d4b254ec5
parent94c423ba5d81b28fb5eb3955e66b5420e7c3cf51 (diff)
- Changed the syntax-highlighting rules.
-rw-r--r--lux-mode/lux-mode.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index 281b501bd..4c4aff505 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -214,8 +214,14 @@ Called by `imenu--generic-function'."
(,(concat
"("
(regexp-opt
- '(";module:" "def:" "type:" "sig:" "struct:" "macro:" "syntax:" "program:" "poly:" "derived:" "actor:" "context:" "template:" "class:" "interface:" "model:"
+ '(";module:"
+ "def:" "type:" "macro:" "syntax:" "program:"
+ "sig:" "struct:" "context:" "template:"
+ "class:" "interface:"
+ "poly:" "derived:"
+ "actor:" "message:"
"exception:"
+ "word:"
"function" "case" ":" ":!" ":!!" "undefined" "ident-for"
"and" "or"
"exec" "let" "with-expansions" "if" "cond" "do" "be" "open" "loop" "recur" "comment" "list" "list&" "io" "vector" "tree"
@@ -223,7 +229,7 @@ Called by `imenu--generic-function'."
"|" "&" "->" "All" "Ex" "Rec" "host" "$" "type"
"^" "^or" "^slots" "^multi" "^~" "^@" "^template" "^open" "^|>" "^stream&" "^regex"
"bin" "oct" "hex"
- "@pre" "@post"
+ "pre" "post"
"sig" "struct" "derive"
"infix"
"format"