about summary refs log tree commit diff
path: root/snippets/haskell-mode/test-module
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/haskell-mode/test-module')
-rw-r--r--snippets/haskell-mode/test-module5
1 files changed, 3 insertions, 2 deletions
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)}
 --------------------------------------------------------------------------------