aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2022-06-05 01:39:29 -0400
committerEduardo Julian2022-06-05 01:39:29 -0400
commitf623de52d76ad8ec96feb048cd95a3fb150717e1 (patch)
tree92a53eb8e5a25287e59eb104716abe5cc2ebd60a /lux-mode
parent75e8244fd7914d2ac0c3622d2277b84c4bfa7ffb (diff)
De-sigil-ification: : [Part 1]
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index a4550d7af..593eeb87b 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -390,7 +390,7 @@ Called by `imenu--generic-function'."
(code//template (altRE "template" "template:"))
;; Miscellaneous
(actor (altRE "actor:" "message:" "actor"))
- (jvm-host (altRE "import:" "export:" "class:" "interface:" "object" "do_to" "synchronized" "class_for"))
+ (jvm-host (altRE "import" "export" "class:" "interface:" "object" "do_to" "synchronized" "class_for"))
(alternative-format (altRE "char" "bin" "oct" "hex"))
(documentation (altRE "comment" "documentation:"))
(function-application (altRE "|>" "<|" "left" "right" "all"))
@@ -399,7 +399,7 @@ Called by `imenu--generic-function'."
(definition (altRE "\\.using"
"def:" "type:" "program:" "inline:"
"implementation:"
- "macro:" "syntax:"
+ "macro" "syntax:"
"exception:"
"word:"
"analysis:" "synthesis:" "generation:" "directive:")))
@@ -583,6 +583,11 @@ This function also returns nil meaning don't specify the indentation."
(define-lux-indent
(function 'defun)
+ (macro 'defun)
+
+ (import 'defun)
+ (export 'defun)
+
(let 'defun)
(case 'defun)
(do 'defun)