From 16538abf8d1231279133508ba15376145b818518 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 10 May 2022 21:12:33 +0300 Subject: autotools and check testign suite --- emacs/recipe-mode.el | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'emacs/recipe-mode.el') 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" -- cgit v1.2.3