Skip to content

Commit

Permalink
Merge pull request #1 from purcell/patch-1
Browse files Browse the repository at this point in the history
Anchor auto-mode-alist patterns to end-of-line
  • Loading branch information
kyleam committed Jun 29, 2014
2 parents 0071aa6 + 940d5c4 commit 4df67c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakemake-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4df67c2

Please sign in to comment.