about summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-06-15T18·27-0400
committerWilliam Carroll <wpcarro@gmail.com>2018-07-19T16·00-0400
commit0e73a0e77f938cc27b9aec90f697d6eca21b7ce8 (patch)
tree6abd5e6e1077fd75fb478fc66791b43c86076ad6 /emacs.d
parentb9d2e04efbe00a7385a871a4c4f8eb4d9cec6c62 (diff)
Support additional Haskell snippets
Snippets make my life easier.
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/snippets/haskell-mode/instance-defn6
-rw-r--r--emacs.d/snippets/haskell-mode/undefined5
2 files changed, 11 insertions, 0 deletions
diff --git a/emacs.d/snippets/haskell-mode/instance-defn b/emacs.d/snippets/haskell-mode/instance-defn
new file mode 100644
index 000000000000..10d194ce41f0
--- /dev/null
+++ b/emacs.d/snippets/haskell-mode/instance-defn
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: Instance
+# key: inst
+# --
+instance $1 where
+  $2 = $3
\ No newline at end of file
diff --git a/emacs.d/snippets/haskell-mode/undefined b/emacs.d/snippets/haskell-mode/undefined
new file mode 100644
index 000000000000..7609f801f278
--- /dev/null
+++ b/emacs.d/snippets/haskell-mode/undefined
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: Undefiend
+# key: nd
+# --
+undefined
\ No newline at end of file