summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2022-06-08 13:54:36 +0300
committergramanas <anastasis.gramm2@gmail.com>2022-06-08 13:54:36 +0300
commitf20c12dd9f920eee1f50f99c8a4c86730e40432c (patch)
tree368589dced3bd8ccace010d423d514494e4d32ab /emacs
parentd8ac772cb5217df8fce435307524242a50153a07 (diff)
downloadfoodtools-f20c12dd9f920eee1f50f99c8a4c86730e40432c.tar.gz
foodtools-f20c12dd9f920eee1f50f99c8a4c86730e40432c.tar.bz2
foodtools-f20c12dd9f920eee1f50f99c8a4c86730e40432c.zip
Update emacs mode and tests for empty ingredients
Diffstat (limited to 'emacs')
-rw-r--r--emacs/recipe-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/recipe-mode.el b/emacs/recipe-mode.el
index 320d017..d88f8cf 100644
--- a/emacs/recipe-mode.el
+++ b/emacs/recipe-mode.el
@@ -39,6 +39,7 @@
("=>\\(.*\\)" . (1 'font-lock-variable-name-face)) ;; step result
("^[ [:digit:]]*!" . 'font-lock-constant-face) ;; include
("@\\|-\\|>\\|+\\|=>" . 'font-lock-constant-face) ;; symbols
+ ("^\\(.+?\\)$" . (1 'font-lock-variable-name-face)) ;; variable in assignment (no qty)
))
(define-derived-mode recipe-mode prog-mode "rcp"