summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snakemake-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index c65e60f..750e2f0 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -225,9 +225,9 @@ indentation is determined by the location within the rule block.
(cons "snakemake" snakemake-compile-command-options) " ")))
;;;###autoload
-(add-to-list 'auto-mode-alist '("Snakefile" . snakemake-mode))
+(add-to-list 'auto-mode-alist '("Snakefile\\'" . snakemake-mode))
;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.smrules" . snakemake-mode))
+(add-to-list 'auto-mode-alist '("\\.smrules\\'" . snakemake-mode))
(provide 'snakemake-mode)