We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 942bee0 commit a2731b3Copy full SHA for a2731b3
README.md
@@ -54,6 +54,7 @@ qualified`) can quickly be selected with a single key stroke.
54
* `main ` - main module and function
55
* `let` - let bindings
56
* `lang` - language extension pragmas
57
+* `opt` - GHC options pragmas
58
* `\` - lambda function
59
* `inst` - instance declairation
60
* `imp` - import modules [simple, qualified]
snippets/haskell-mode/opt-pragma
@@ -0,0 +1,9 @@
1
+# -*- mode: snippet -*-
2
+# key: opt
3
+# name: GHC options pragma
4
+# condition: (= (length "opt") (current-column))
5
+# contributor: Luke Hoersten <luke@hoersten.org>
6
+# --
7
+{-# LANGUAGE `(some #'(lambda (fn)
8
+ (funcall fn "GHC Option: " haskell-ghc-supported-options))
9
+ yas-prompt-functions)` #-}
0 commit comments