summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snakemake-mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 7e2ff8c..b397e2d 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -413,16 +413,16 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")
(1 font-lock-keyword-face nil 'lax)
(2 font-lock-function-name-face nil 'lax)
(3 font-lock-keyword-face nil 'lax))
- (,(snakemake-rx line-start (zero-or-more space)
- (group sm-command)
- (zero-or-more space) ":")
- 1 font-lock-keyword-face)
(,(snakemake-rx (group sm-func) (zero-or-more space) "(")
1 font-lock-builtin-face)
(,(snakemake-rx line-start (one-or-more space)
(group field-key)
(zero-or-more space) ":")
- 1 font-lock-type-face)))
+ 1 font-lock-type-face)
+ (,(snakemake-rx line-start (zero-or-more space)
+ (group sm-command)
+ (zero-or-more space) ":")
+ 1 font-lock-keyword-face)))
;;;###autoload
(define-derived-mode snakemake-mode python-mode "Snakemake"