summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-10-10 11:08:31 -0400
committerKyle Meyer <kyle@kyleam.com>2017-10-10 11:08:31 -0400
commit95e8d8aa8312b54d6ea18b35667fa3005be1bc76 (patch)
tree562c5f7fe8daaf16d466f1e948b81e42f83466fd /snakemake-mode.el
parent9a29ca3f5c7302a67f969b10defeb75e2fda688a (diff)
downloadsnakemake-mode-95e8d8aa8312b54d6ea18b35667fa3005be1bc76.tar.gz
mode: Add ".smk" as a file suffix
Closes #22.
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index b5441eb..50d1ef8 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -455,6 +455,8 @@ embedded R, you need to set mmm-global-mode to a non-nil value such as 'maybe.")
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.\\(?:sm\\)?rules\\'" . snakemake-mode))
;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.smk\\'" . snakemake-mode))
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.snakefile\\'" . snakemake-mode))
(provide 'snakemake-mode)