summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-16 21:37:05 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-16 21:37:08 -0400
commit6d7d4f01a2e510d0557930e19ec30896c9d315a2 (patch)
tree61b04698b2765a9689707910ff74091908506ebc
parentca4d60dd0923d15b688e919c35a9df2e3e9ed380 (diff)
downloadsnakemake-mode-6d7d4f01a2e510d0557930e19ec30896c9d315a2.tar.gz
mode: Add "directory" to the list of built-ins
-rw-r--r--NEWS4
-rw-r--r--snakemake-mode.el1
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 908f8a2..3d490c6 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,8 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
** New features
-- The 'cwl' keyword (new in Snakemake v4.8.0) and 'ancient' built-in
- are now recognized.
+- The 'cwl' keyword (new in Snakemake v4.8.0), 'directory' (new in
+ Snakemake v5.2.0), and 'ancient' built-in are now recognized.
** Other changes
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 21b7b1f..b417718 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -117,6 +117,7 @@
symbol-end))
(sm-builtin . ,(rx symbol-start
(or "ancient"
+ "directory"
"dynamic"
"expand"
"input"