From 90faba359fe4263c365f33c32e00131a7cf61d53 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 12 Mar 2016 22:07:39 -0500 Subject: mode: Add ".snakefile" as a file suffix https://groups.google.com/d/msg/snakemake/segLE-RlV_s/nQCTxH_TJwAJ --- NEWS | 2 ++ snakemake-mode.el | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3