aboutsummaryrefslogtreecommitdiffstats
path: root/oni-bats.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-bats.el')
-rw-r--r--oni-bats.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/oni-bats.el b/oni-bats.el
index ea05539..d969f28 100644
--- a/oni-bats.el
+++ b/oni-bats.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2019.1117.104022
+;; Version: 2020.0107.171424
;; Package-Requires: (bats-mode oni-sh)
;; This program is free software; you can redistribute it and/or modify
@@ -29,6 +29,11 @@
;;; Code:
+(require 'autoinsert)
+
+;;;###autoload
+(add-to-list 'auto-insert-alist '(bats-mode nil "#!/usr/bin/env bats\n\n"))
+
;;;###autoload(with-eval-after-load 'bats-mode (require 'oni-bats))
(provide 'oni-bats)