aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2019-10-15 00:50:03 -0400
committerEduardo Julian2019-10-15 00:50:03 -0400
commit2b5351eb4624ce3c3ada994caaaea77c9d397eb8 (patch)
treee886dc45f96fcaa21687747dd6481fed1ca1c769 /lux-mode
parent7d2607a34183662bb640644888fb52281a2d3ab4 (diff)
Compiler extensions have been tested to work.
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el24
1 files changed, 14 insertions, 10 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index 7f67ac1f0..26b31f03c 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -255,7 +255,7 @@ Called by `imenu--generic-function'."
(type//capability (altRE "capability:"))
;; Data
(data//record (altRE "get@" "set@" "update@"))
- (data//signature (altRE "signature:" "structure:" "open:" "structure" "::"))
+ (data//signature (altRE "open:" "structure" "::"))
(data//implicit (altRE "implicit:" "implicit" ":::"))
(data//collection (altRE "list" "list&" "row" "tree"))
;; Code
@@ -268,7 +268,14 @@ Called by `imenu--generic-function'."
(alternative-format (altRE "char" "bin" "oct" "hex"))
(documentation (altRE "doc" "comment"))
(function-application (altRE "|>" "|>>" "<|" "<<|" "_\\$" "\\$_"))
- (remember (altRE "remember" "to-do" "fix-me")))
+ (remember (altRE "remember" "to-do" "fix-me"))
+ (definition (altRE "\\.module:"
+ "def:" "type:" "program:"
+ "signature:" "structure:"
+ "macro:" "syntax:"
+ "exception:"
+ "word:"
+ "analysis:" "synthesis:" "generation:" "directive:")))
(let ((control (altRE control//flow
control//pattern-matching
control//logic
@@ -294,22 +301,19 @@ Called by `imenu--generic-function'."
type
data
code
- ;; ;;;;;;;;;;;;;;;;;;;;;;
+ ;;;;;;;;;;;;;;;;;;;;;;;;
actor
jvm-host
alternative-format
documentation
function-application
remember
- ;; ;;;;;;;;;;;;;;;;;;;;;;
- "\\.module:"
- "def:" "type:" "program:"
- "macro:" "syntax:"
+ definition
+ ;;;;;;;;;;;;;;;;;;;;;;;;
"with-expansions"
- "exception:"
- "word:"
"function" "undefined" "name-of" "static"
- "for" "io"
+ "for"
+ "io"
"infix"
"format"
"regex")