diff options
author | Timo Wilken | 2023-10-05 13:14:36 +0200 |
---|---|---|
committer | Timo Wilken | 2023-10-05 13:14:36 +0200 |
commit | 966e50972ce466863559d20f9673e112a09cb36a (patch) | |
tree | 36c08e50a8ae3dc9daf972d03a0bd8e0ae369f2a /tw/home | |
parent | 8f6be34a485173c0fcef5236e18927b946fbfbe2 (diff) |
Handle new prefer_system_replacement_specs.*.recipe keys in alidist
Diffstat (limited to 'tw/home')
-rw-r--r-- | tw/home/files/emacs-packages/alidist-mode.el | 7 |
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" |