From fa69fcdc0b4c6d712e1c36250f482116d1fcfbf8 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sat, 28 Nov 2015 22:56:04 +0000 Subject: [PATCH] Haskell: Correct module Main expansion --- snippets/haskell.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/haskell.snippets b/snippets/haskell.snippets index 5cf094c..4d40199 100644 --- a/snippets/haskell.snippets +++ b/snippets/haskell.snippets @@ -43,7 +43,7 @@ snippet class snippet module module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` ( ) where - `expand('%') =~ 'a' ? "\nmain :: IO ()\nmain = undefined" : ""` + `expand('%') =~ 'Main' ? "\nmain :: IO ()\nmain = undefined" : ""` snippet main main :: IO ()