diff --git a/oni-sh.el b/oni-sh.el index d321f97..7142e95 100644 --- a/oni-sh.el +++ b/oni-sh.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.0904.210811 +;; Version: 2019.1117.103253 ;; Package-Requires: (reformatter oni-flycheck oni-fci) ;; This program is free software; you can redistribute it and/or modify @@ -24,6 +24,15 @@ ;; Configuration and helpers for `sh-mode'. +;; This sets the following minor modes for ‘sh-mode’: +;; - ‘electric-indent-local-mode’ +;; - ‘electric-pair-local-mode’ +;; - ‘fci-mode’ +;; - ‘flycheck-mode’ + +;; It also defines a formatter using ‘reformatter’ which runs the shfmt utility. +;; This is set up to run after saving a shell script. + ;;; Code: (require 'reformatter)