From 26bfdfaa76728a906c06b3577c3de08dc79cd4b5 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 17 Nov 2016 18:15:41 -0500 Subject: snakemake-rx-constituents: Support more built-in Snakemake objects Using "input" here overrides the highlighting of "input" by python-font-lock-keywords, although in either case font-lock-builtin-face is used. The addition of "output" to the regexp means that output and input are now displayed with a consistent face in run blocks. Fixes #20. --- snakemake-mode.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/snakemake-mode.el b/snakemake-mode.el index b8b1f49..b557672 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -114,10 +114,14 @@ (sm-builtin . ,(rx symbol-start (or "dynamic" "expand" + "input" + "output" + "params" "protected" "shell" "temp" - "touch") + "touch" + "wildcards") symbol-end)) ;; Deprecated. Use `sm-builtin' instead. (sm-func . sm-builtin)) -- cgit v1.2.3