Skip to content

Commit

Permalink
snakemake-rx-constituents: Support more built-in Snakemake objects
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kyleam committed Nov 17, 2016
1 parent 6af4819 commit 26bfdfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion snakemake-mode.el
Expand Up @@ -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))
Expand Down

0 comments on commit 26bfdfa

Please sign in to comment.