aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/home/files/emacs-packages/alidist-mode.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/tw/home/files/emacs-packages/alidist-mode.el b/tw/home/files/emacs-packages/alidist-mode.el
index b68e1993..5fb7af7d 100644
--- a/tw/home/files/emacs-packages/alidist-mode.el
+++ b/tw/home/files/emacs-packages/alidist-mode.el
@@ -142,8 +142,11 @@ It is stored in `alidist-mode--mmm-refresh-timer'."
:submode alidist-script-mode
:face mmm-default-submode-face
;; Any *_recipe key with a multiline string value is probably a script.
- :front ,(rx line-start (* whitespace) (1+ (any alnum ?\_))
- (or "_recipe" "_check") ": |\n")
+ :front ,(rx line-start (* whitespace)
+ (or "recipe" ; for recipes under prefer_system_replacement_specs
+ (seq (1+ (any alnum ?\_))
+ (or "_recipe" "_check")))
+ ": |\n")
;; End of YAML header, or another YAML key.
:back ,(rx line-start
(or "---\n"