aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-06-10 21:08:51 -0400
committerKyle Meyer <kyle@kyleam.com>2015-06-10 21:08:51 -0400
commitf4433d1930604fff9aae684b33d3d49714b46d6b (patch)
treef3f759bae0f2642e36e2eb5532cedd95c96c93bb
parentc6765aae716722928ce03d00ccb0421088075a77 (diff)
downloadsnakemake-mode-f4433d1930604fff9aae684b33d3d49714b46d6b.tar.gz
Recognize touch function
The touch flag was just recently documented: https://groups.google.com/d/msg/Snakemake/ZxUo20DV2KE/0S1rBj0XzwQJ
-rw-r--r--NEWS2
-rw-r--r--snakemake-mode.el2
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.")