aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-17 18:15:41 -0500
committerKyle Meyer <kyle@kyleam.com>2016-11-17 18:19:56 -0500
commit26bfdfaa76728a906c06b3577c3de08dc79cd4b5 (patch)
tree8359af6dcbaa0d8b489b9c839c0b1756cdc5dccf
parent6af48198df6520acbba6c0408ab7ff697ef348f4 (diff)
downloadsnakemake-mode-26bfdfaa76728a906c06b3577c3de08dc79cd4b5.tar.gz
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.
-rw-r--r--snakemake-mode.el6
1 files changed, 5 insertions, 1 deletions
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))