diff options
Diffstat (limited to 'lux-mode')
-rw-r--r-- | lux-mode/lux-mode.el | 9 |
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) |