branch: elpa/haskell-tng-mode commit a4f06f581262a1b5f068486635a5012f70171303 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
an idea --- haskell-tng-contrib.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/haskell-tng-contrib.el b/haskell-tng-contrib.el index 1e34764..cc2ec16 100644 --- a/haskell-tng-contrib.el +++ b/haskell-tng-contrib.el @@ -13,6 +13,10 @@ ;; TODO a generic wrapper around commands that can be downloaded and built using ;; cabal v2-install. +;; TODO cabal-fmt on new file creation (for the `insert' support). Maybe with a +;; hook in both `before-save-hook' (detecting that the file is new) and +;; `after-save-hook' (running the command and resetting the newfile var). + (require 'subr-x) ;;;###autoload