about summary refs log tree commit diff
path: root/snippets/haskell-mode
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2018-08-31T17·31-0400
committerGriffin Smith <root@gws.fyi>2018-08-31T17·31-0400
commit8ba14144a32ee053d7fa27b836c632eed48b6f54 (patch)
tree353210b3f8710e08cc25d3a7645420614d1685f2 /snippets/haskell-mode
parentf95d025d1fdddc6b781662786d5d52e20d3f1d7e (diff)
Update to latest doom, agda stuff, misc
Diffstat (limited to 'snippets/haskell-mode')
-rw-r--r--snippets/haskell-mode/header3
-rw-r--r--snippets/haskell-mode/module8
-rw-r--r--snippets/haskell-mode/test-module5
3 files changed, 8 insertions, 8 deletions
diff --git a/snippets/haskell-mode/header b/snippets/haskell-mode/header
index 4d665905f6c6..fdd8250d86ca 100644
--- a/snippets/haskell-mode/header
+++ b/snippets/haskell-mode/header
@@ -2,5 +2,4 @@
 # name: header
 # expand-env: ((yas-indent-line 'fixed))
 # --
-----------------------------------------------------------------------
-$2
\ No newline at end of file
+--------------------------------------------------------------------------------$2
\ No newline at end of file
diff --git a/snippets/haskell-mode/module b/snippets/haskell-mode/module
index ce7ebcb21353..4554d33f9ba7 100644
--- a/snippets/haskell-mode/module
+++ b/snippets/haskell-mode/module
@@ -5,7 +5,7 @@
 # expand-env: ((yas-indent-line 'fixed))
 # contributor: Luke Hoersten <luke@hoersten.org>
 # --
-----------------------------------------------------------------------
+--------------------------------------------------------------------------------
 -- |
 -- Module      : $1
 -- Description : $2
@@ -13,7 +13,7 @@
 -- Maturity    : ${3:Draft, Usable, Maintained, OR MatureAF}
 --
 -- $4
-----------------------------------------------------------------------
+--------------------------------------------------------------------------------
 module ${1:`(if (not buffer-file-name) "Module"
                 (let ((name (file-name-sans-extension (buffer-file-name)))
                       (case-fold-search nil))
@@ -25,8 +25,8 @@ module ${1:`(if (not buffer-file-name) "Module"
                          (file-name-nondirectory name))))`}
   (
   ) where
-----------------------------------------------------------------------
+--------------------------------------------------------------------------------
 import Prelude
-----------------------------------------------------------------------
+--------------------------------------------------------------------------------
 
 $0
diff --git a/snippets/haskell-mode/test-module b/snippets/haskell-mode/test-module
index 3183fdc72ab5..82224b36a49e 100644
--- a/snippets/haskell-mode/test-module
+++ b/snippets/haskell-mode/test-module
@@ -1,6 +1,7 @@
 # -*- mode: snippet -*-
 # name: test-module
 # key: test
+# expand-env: ((yas-indent-line 'fixed))
 # --
 {-# LANGUAGE ApplicativeDo #-}
 --------------------------------------------------------------------------------
@@ -13,9 +14,9 @@ module ${1:`(if (not buffer-file-name) "Module"
                              (car (last (split-string name "src")))))
                          (file-name-nondirectory name))))`} where
 --------------------------------------------------------------------------------
-import Test.Prelude
+import           Test.Prelude
 import qualified Hedgehog.Gen as Gen
 import qualified Hedgehog.Range as Range
 --------------------------------------------------------------------------------
-import ${1:$(s-chop-suffix "Test" yas-text)}
+import           ${1:$(s-chop-suffix "Test" yas-text)}
 --------------------------------------------------------------------------------