summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-03-12 22:07:39 -0500
committerKyle Meyer <kyle@kyleam.com>2016-03-12 22:07:39 -0500
commit90faba359fe4263c365f33c32e00131a7cf61d53 (patch)
treedd21111d451902a3a4299077f6d6e082f4f91022
parent584020c40a4e35baeac0f6a5a3f8267ff43cd376 (diff)
downloadsnakemake-mode-90faba359fe4263c365f33c32e00131a7cf61d53.tar.gz
mode: Add ".snakefile" as a file suffix
https://groups.google.com/d/msg/snakemake/segLE-RlV_s/nQCTxH_TJwAJ
-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