diff options
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)) |