From f4433d1930604fff9aae684b33d3d49714b46d6b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 10 Jun 2015 21:08:51 -0400 Subject: Recognize touch function The touch flag was just recently documented: https://groups.google.com/d/msg/Snakemake/ZxUo20DV2KE/0S1rBj0XzwQJ --- NEWS | 2 +- snakemake-mode.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index bd31b76..c6228d4 100644 --- a/NEWS +++ b/NEWS @@ -5,7 +5,7 @@ ** New features - The keywords 'configfile', 'onsuccess', 'onerror', 'log', and - 'benchmark' are now recognized. + 'benchmark', as well as the 'touch' function, are now recognized. - Indentation for field values starting on the line below a field key is now supported. New variable `snakemake-indent-value-offset' diff --git a/snakemake-mode.el b/snakemake-mode.el index 4a20236..ddae88b 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -112,7 +112,7 @@ (defconst snakemake-builtin-function-re (rx (group symbol-start - (or "expand" "shell" "protected" "temp" "dynamic")) + (or "expand" "shell" "protected" "temp" "dynamic" "touch")) "(") "Regexp matching a call to a builtin Snakemake function.") -- cgit v1.2.3