summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-29 12:11:18 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-29 12:11:18 -0400
commit4df67c24a62670c89638be0061e7c761f372d055 (patch)
tree074b8e4304edadd1f680d1f8b37261034b41982f /snakemake-mode.el
parent0071aa6b85b5a932d42f268f3db75ce1afc342b5 (diff)
parent940d5c41c3a2a0b30b50f6ca2c85208a1abdf829 (diff)
downloadsnakemake-mode-4df67c24a62670c89638be0061e7c761f372d055.tar.gz
Merge pull request #1 from purcell/patch-1
Anchor auto-mode-alist patterns to end-of-line
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 5ededc9..d12b793 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -224,9 +224,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)