diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2022-05-10 21:12:33 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2022-05-10 21:12:33 +0300 |
commit | 16538abf8d1231279133508ba15376145b818518 (patch) | |
tree | e19079645f87163f674faa333044330c37374ea9 /emacs/recipe-mode.el | |
parent | e739c5dccc0faf13cbddacd1950e203305aa4bab (diff) | |
download | foodtools-16538abf8d1231279133508ba15376145b818518.tar.gz foodtools-16538abf8d1231279133508ba15376145b818518.tar.bz2 foodtools-16538abf8d1231279133508ba15376145b818518.zip |
autotools and check testign suite
Diffstat (limited to 'emacs/recipe-mode.el')
-rw-r--r-- | emacs/recipe-mode.el | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/emacs/recipe-mode.el b/emacs/recipe-mode.el index c38008a..320d017 100644 --- a/emacs/recipe-mode.el +++ b/emacs/recipe-mode.el @@ -29,26 +29,16 @@ (setq recipe-highlights '( - ;; comment - ("^ *#+.*$" . 'font-lock-comment-delimiter-face) - ;; title - ("^ *@\\(.*\\)$" . (1 'font-lock-preprocessor-face)) - ;; duration - ("\\[\\(.+?\\)\\]" . (1 'font-lock-builtin-face)) - ;; quantity measurements - ("= *[[:digit:]/]+\\([ [:graph:]]+?\\)$" . (1 'font-lock-builtin-face)) - ;; variable in assignment - ("^\\(.+?\\)=.+?$" . (1 'font-lock-variable-name-face)) - ;; variable in ${} - ("\\${\\(.+?\\)}" . (1 'font-lock-variable-name-face)) - ;; single word variable - ("\\$\\([^ {\n]+\\)" . (1 'font-lock-variable-name-face)) - ;; step result - ("=>\\(.*\\)" . (1 'font-lock-variable-name-face)) - ;; include - ("^[ [:digit:]]*!" . 'font-lock-constant-face) - ;; symbols - ("@\\|-\\|>\\|+\\|=>" . 'font-lock-constant-face) + ("^ *#+.*$" . 'font-lock-comment-delimiter-face) ;; comment + ("^ *@\\(.*\\)$" . (1 'font-lock-preprocessor-face)) ;; title + ("\\[\\(.+?\\)\\]" . (1 'font-lock-builtin-face)) ;; duration + ("= *[[:digit:]/]+\\([ [:graph:]]+?\\)$" . (1 'font-lock-builtin-face)) ;; quantity measurements + ("^\\(.+?\\)=.+?$" . (1 'font-lock-variable-name-face)) ;; variable in assignment + ("\\${\\(.+?\\)}" . (1 'font-lock-variable-name-face)) ;; variable in ${} + ("\\$\\([^ {\n]+\\)" . (1 'font-lock-variable-name-face)) ;; single word variable + ("=>\\(.*\\)" . (1 'font-lock-variable-name-face)) ;; step result + ("^[ [:digit:]]*!" . 'font-lock-constant-face) ;; include + ("@\\|-\\|>\\|+\\|=>" . 'font-lock-constant-face) ;; symbols )) (define-derived-mode recipe-mode prog-mode "rcp" |