aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-10-10 11:08:31 -0400
committerKyle Meyer <kyle@kyleam.com>2017-10-10 11:08:31 -0400
commit95e8d8aa8312b54d6ea18b35667fa3005be1bc76 (patch)
tree562c5f7fe8daaf16d466f1e948b81e42f83466fd
parent9a29ca3f5c7302a67f969b10defeb75e2fda688a (diff)
downloadsnakemake-mode-95e8d8aa8312b54d6ea18b35667fa3005be1bc76.tar.gz
mode: Add ".smk" as a file suffix
Closes #22.
-rw-r--r--NEWS6
-rw-r--r--snakemake-mode.el2
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3c189d4..fa9a22f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
NEWS -- history of user-visible changes -*- mode: org; -*-
+* v1.3.0 (unreleased)
+
+** New features
+
+- ".smk" has been added as a suffix for Snakemake files.
+
* v1.2.0
** New features
diff --git a/snakemake-mode.el b/snakemake-mode.el
index b5441eb..50d1ef8 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -455,6 +455,8 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.\\(?:sm\\)?rules\\'" . snakemake-mode))
;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.smk\\'" . snakemake-mode))
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.snakefile\\'" . snakemake-mode))
(provide 'snakemake-mode)