summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-03 00:53:29 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-03 00:53:29 -0400
commit2d3e788681ef1ba7e34f9b7f2b303b079b6ee05b (patch)
tree28ec2cc564f77ede19dd369519c2f922c2d06657 /snakemake-mode.el
parent0b0419981087d3836354bc837a162864ef673456 (diff)
downloadsnakemake-mode-2d3e788681ef1ba7e34f9b7f2b303b079b6ee05b.tar.gz
mode: Add ".rules" as a file suffix
Closes #15.
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index cb8f672..93e42e6 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -402,7 +402,7 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")
;;;###autoload
(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 '("\\.\\(?:sm\\)?rules\\'" . snakemake-mode))
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.snakefile\\'" . snakemake-mode))