diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-05-03 00:53:29 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-05-03 00:53:29 -0400 |
commit | 2d3e788681ef1ba7e34f9b7f2b303b079b6ee05b (patch) | |
tree | 28ec2cc564f77ede19dd369519c2f922c2d06657 /snakemake-mode.el | |
parent | 0b0419981087d3836354bc837a162864ef673456 (diff) | |
download | snakemake-mode-2d3e788681ef1ba7e34f9b7f2b303b079b6ee05b.tar.gz |
mode: Add ".rules" as a file suffix
Closes #15.
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r-- | snakemake-mode.el | 2 |
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)) |