aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-05-19 20:29:09 -0400
committerKyle Meyer <kyle@kyleam.com>2018-05-19 20:30:43 -0400
commit301df381a17d7233f3556e9206d133fd893e3460 (patch)
tree8aae722cd68a65cdd5ae657c022eb88e5e38305b
parent43a4b37b1374de50e2022885077968af6d0e30a5 (diff)
downloadsnakemake-mode-301df381a17d7233f3556e9206d133fd893e3460.tar.gz
mode: Add "ancient" as to the list of built-ins
This has been around since Snakemake 3.9.0.
-rw-r--r--NEWS3
-rw-r--r--snakemake-mode.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b7064f2..63c3999 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,8 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
** New features
-- The 'cwl' keyword (new in Snakemake v4.8.0) is now recognized.
+- The 'cwl' keyword (new in Snakemake v4.8.0) and 'ancient' built-in
+ are now recognized.
* v1.3.0
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 5d91e0e..dd0e35e 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -115,7 +115,8 @@
"workdir")
symbol-end))
(sm-builtin . ,(rx symbol-start
- (or "dynamic"
+ (or "ancient"
+ "dynamic"
"expand"
"input"
"output"