Skip to content
Browse files

update snippets to not indent when expanded

- add  major-mode cookie
  • Loading branch information...
1 parent ccdf5c1 commit d0329744a5b0e52eb6e1fd4ddaf1ffd6ed188514 Le Wang committed Oct 14, 2012
View
6 snippets/feature-mode/and
@@ -1,5 +1,7 @@
-#key: and
-#name: And something else
+# -*- mode: snippet -*-
+# key: and
+# name: And something else
+# expand-env: ((yas-indent-line 'fixed))
# --
And ${1:something else}
$0
View
6 snippets/feature-mode/bac
@@ -1,5 +1,7 @@
-#key: bac
-#name: Background
+# -*- mode: snippet -*-
+# key: bac
+# name: Background
+# expand-env: ((yas-indent-line 'fixed))
# --
Background:
Given ${1: a known starting condition}
View
6 snippets/feature-mode/fea
@@ -1,5 +1,7 @@
-#key: fea
-#name: Feature: Name
+# -*- mode: snippet -*-
+# key: fea
+# name: Feature: Name
+# expand-env: ((yas-indent-line 'fixed))
# --
Feature: ${1:Name}
In order to ${2:get some business value}
View
6 snippets/feature-mode/giv
@@ -1,5 +1,7 @@
-#key: giv
-#name: Given a known starting condition
+# -*- mode: snippet -*-
+# key: giv
+# name: Given a known starting condition
+# expand-env: ((yas-indent-line 'fixed))
# --
Given ${1:a known starting condition}
$0
View
6 snippets/feature-mode/sce
@@ -1,5 +1,7 @@
-#key: sce
-#name: Scenario: Name
+# -*- mode: snippet -*-
+# key: sce
+# name: Scenario: Name
+# expand-env: ((yas-indent-line 'fixed))
# --
Scenario: ${1:Name}
$0
View
6 snippets/feature-mode/the
@@ -1,5 +1,7 @@
-#key: the
-#name: Then some expected outcome
+# -*- mode: snippet -*-
+# key: the
+# name: Then some expected outcome
+# expand-env: ((yas-indent-line 'fixed))
# --
Then ${1:some expected outcome}
$0
View
6 snippets/feature-mode/whe
@@ -1,5 +1,7 @@
-#key: whe
-#name: When some action
+# -*- mode: snippet -*-
+# key: whe
+# name: When some action
+# expand-env: ((yas-indent-line 'fixed))
# --
When ${1:some action}
$0

0 comments on commit d032974

Please sign in to comment.
Something went wrong with that request. Please try again.