aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--snakemake-mode.el2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b39a8ee..46428f7 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
- New library snakemake.el provides a popup interface for running
Snakemake from Emacs.
+- ".snakefile" has been added as a suffix for Snakemake files.
+
* v0.3.0
** New features
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 368c4c3..dc9fbf8 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -345,6 +345,8 @@ label."
(add-to-list 'auto-mode-alist '("Snakefile\\'" . snakemake-mode))
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.smrules\\'" . snakemake-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.snakefile\\'" . snakemake-mode))
(provide 'snakemake-mode)
;;; snakemake-mode.el ends here