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 b1ba50f commit 942bee0Copy full SHA for 942bee0
snippets/haskell-mode/lang-pragma
@@ -1,7 +1,9 @@
1
# -*- mode: snippet -*-
2
# key: lang
3
-# name: language pragma
+# name: language extension pragma
4
# condition: (= (length "lang") (current-column))
5
-# contributor: Luke Hoersten <luke@hoersten.org>, John Wiegley
+# contributor: Luke Hoersten <luke@hoersten.org>
6
# --
7
-{-# LANGUAGE `(progn (require 'haskell-yas) (haskell-yas-complete "Extension: " haskell-ghc-supported-languages))` #-}
+{-# LANGUAGE `(some #'(lambda (fn)
8
+ (funcall fn "Extension: " haskell-ghc-supported-languages))
9
+ yas-prompt-functions)` #-}
0 commit comments